200
Can you add text with links in the event

// AnchorClick event - Occurs when an anchor element is clicked.
void onEvent_AnchorClick(str   _AnchorID,str   _Options)
{
	;
	print( _AnchorID );
	print( _Options );
}

public void init()
{
	COM com_Event,com_Events;
	anytype var_Event,var_Events;
	;

	super();

	exschedule1.Calendar().Selection(COMVariant::createFromDate(str2Date("6/20/2012",213)));
	var_Events = exschedule1.Events(); com_Events = var_Events;
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("6/20/2012 9:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("6/20/2012 11:00:00",213)))); com_Event = var_Event;
		com_Event.ExtraLabel("<aID1234;OPTIONS-1234>click me</a>");
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("6/20/2012 11:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("6/20/2012 13:00:00",213)))); com_Event = var_Event;
		com_Event.ExtraLabel("<a1235;OPTIONS-1235>click me</a>");
}
199
How do you adjust the font type and size of the event (method 2)

public void init()
{
	COM com_Events;
	anytype var_Events;
	;

	super();

	exschedule1.Calendar().Selection(COMVariant::createFromDate(str2Date("6/20/2012",213)));
	exschedule1.DefaultEventShortLabel("<font mistral;12><%=%256%>");
	exschedule1.DefaultEventLongLabel(exschedule1.DefaultEventShortLabel());
	var_Events = exschedule1.Events(); com_Events = var_Events;
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("6/20/2012 9:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("6/20/2012 11:00:00",213)));
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("6/20/2012 11:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("6/20/2012 13:00:00",213)));
}
198
How do you adjust the font type and size of the event (method 1)

public void init()
{
	COM com_Event,com_Event1,com_Events;
	anytype var_Event,var_Event1,var_Events;
	;

	super();

	exschedule1.Calendar().Selection(COMVariant::createFromDate(str2Date("6/20/2012",213)));
	var_Events = exschedule1.Events(); com_Events = var_Events;
		var_Event = com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("6/20/2012 9:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("6/20/2012 11:00:00",213))); com_Event = var_Event;
			com_Event.ShortLabel("<font tahoma;12><%=%256%>");
			com_Event.LongLabel(com_Event.ShortLabel());
		var_Event1 = com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("6/20/2012 11:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("6/20/2012 13:00:00",213))); com_Event1 = var_Event1;
			com_Event1.ShortLabel("<fgcolor FF><i><font Mistral;16>your caption</i></font> goes here");
			com_Event1.LongLabel(com_Event1.ShortLabel());
}
197
How can I change the shape of the line to be shown when user drag and drop data over the control

public void init()
{
	;

	super();

	exschedule1.OLEDropMode(1/*exOLEDropManual*/);
	exschedule1.VisualAppearance().Add(1,"C:\\Program Files\\Exontrol\\ExSchedule\\Sample\\EBN\\dash1.ebn");
	exschedule1.Background(97/*exScheduleOLEDropPosition*/,0x1000000);
}
196
How can I highlight the date-time from cursor when the user drag and drop data over the control
public void init()
{
	;

	super();

	exschedule1.OLEDropMode(1/*exOLEDropManual*/);
	exschedule1.Background(97/*exScheduleOLEDropPosition*/,WinApi::RGB2int(1,0,0));
}
195
How can I start drag and drop events

// OLEStartDrag event is not supported. Use the DragEnter,DragLeave,DragOver, DragDrop ... events.
public void init()
{
	COM com_Event,com_Events;
	anytype var_Event,var_Events;
	;

	super();

	exschedule1.BeginUpdate();
	exschedule1.AllowMoveEvent(0/*exDisallow*/);
	exschedule1.AllowCreateEvent(0/*exDisallow*/);
	exschedule1.OLEDropMode(1/*exOLEDropManual*/);
	exschedule1.Calendar().Selection(COMVariant::createFromDate(str2Date("6/27/2012",213)));
	var_Events = exschedule1.Events(); com_Events = var_Events;
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("6/27/2012 11:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("6/27/2012 12:30:00",213)))); com_Event = var_Event;
		com_Event.BodyBackColor(WinApi::RGB2int(255,0,0));
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("6/27/2012 11:30:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("6/27/2012 13:30:00",213)));
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("6/27/2012 8:30:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("6/27/2012 11:45:00",213)));
	exschedule1.EndUpdate();
}
194
Is it possible to show the today date with a different foreground color

public void init()
{
	str var_s;
	;

	super();

	var_s = "month(value) = month(date(``)) and (int((yearday(value) -1- ((7-weekday(value - yearday(value) + 1)) mod 7) )/7) = int((yearday(";
	var_s = var_s + "date(``))-1)/7))";
	exschedule1.Calendar().Selection(COMVariant::createFromStr(var_s));
	exschedule1.Background(14/*exCalendarMarkToday*/,exschedule1.BackColor());
	exschedule1.Background(30/*exCalendarMarkTodayForeColor*/,WinApi::RGB2int(255,0,0));
}
193
How can I hide the rectangle around the today date

public void init()
{
	str var_s;
	;

	super();

	var_s = "month(value) = month(date(``)) and (int((yearday(value) -1- ((7-weekday(value - yearday(value) + 1)) mod 7) )/7) = int((yearday(";
	var_s = var_s + "date(``))-1)/7))";
	exschedule1.Calendar().Selection(COMVariant::createFromStr(var_s));
	exschedule1.Background(14/*exCalendarMarkToday*/,exschedule1.BackColor());
}
192
Is it possible to change the appearance of event with no status using the EBN (office theme)

public void init()
{
	COM com_Event,com_Events;
	anytype var_Event,var_Events;
	str var_s;
	;

	super();

	exschedule1.BeginUpdate();
	var_s = "gBFLBCJwBAEHhEJAEGg4BeoDg6AADACAxRDAMgBQKAAzQFAYaBqGqGAAGKD4JhUAIIRZGMIjFDcEwxC6NIpAWCYRDGEwCQiNQyRDCYYw+GYCJBmKKYcgONYgQLHcgxDI";
	var_s = var_s + "sJw/FyERjjeB4egkaZHRZOUZTZQsBxRAZ2Q4EQAKRpOFY9DTPcr0HR8ZQ+BKNAYkSjQAp2VZUVJFUqDKItVzbBIaRgteA7RrOXpjRjYEBxDKcZyxLqVLToiqcRz7PqbZ";
	var_s = var_s + "rjeioZoyBI+QjgYAUFDeGSTDQ3bwAA4rEqaaZnVbkOQQJTcNy7EKvYRzGA7CgPHI5QjnVR6BjUJztWyIbp3G4rchqH4RaqAF5ZXg9ez/FIaJbnUaMWhXFqOABwPC0XoI";
	var_s = var_s + "GuAJklAeR6H2dAngcEZWnQehzCsd4SmGPJzF2Io1l2fhrgeUpxHOLIAggSRAlIYw6B0ThGFyEJ4CEAwQgSV51BkDYQhCIQJHgGp0gAGBFgCB55nAAC3HCbYEGEOBIHOB";
	var_s = var_s + "ZhggZgagYIRIHYEoFCGMoSCKCJiEiFgjgaYZjjYGIJiKSI2CeBZiAgXgugyYxIgYNINmIaJaDiDpKEiag8g2Y5on4M4GkqGQWEaEZkgkJhKhEZBJC4ToTmSSBqFCFJki";
	var_s = var_s + "kNhUhXQpaFiFJlikbhPhcZZpC4GwqmYSYWGaGZmgmJhkhiZopjYboamGKY+HKGhmkmTh2CqZxZl4coeGeKY6HyHxmigbIuiCaBKBaBohmiCgOgKIhokoNoKgaKJqEaCI";
	var_s = var_s + "imkwwuiUKVyBiJk7m6HIiGGMqbCiSwqhaI4pmqComiOKBqiqNouioKpKj6JQsiqapOiuBoqnqZouiwaxahqOooiuSp+j+BpLEsFpGjGbILCaSoxGwSwuk6M5skgapQjS";
	var_s = var_s + "bIrDaVI15AWpYjSbYrG6T43G2a1Ui2bhLhaZo5m6C4mmSOJuiuNpujqYYrj6co6G6S5OnYLZvFuXpyj4b4rjqfI/G7aA7kCcBMBcBpBnCDAPAKQhwkwN1wjCbBHAiQpx";
	var_s = var_s + "CwVI7kVlJHBiRhwlwbzrHGbB/AeBpLlyFI/kmcoMiMJQvHKLIbCeSpyjyEwwkycxMk8LZMDMLIzC+S4LnyVw+kwYYsn8P5KHOPJoj+TnQl8NJSjMPJnEzmR9CMQpUnOS";
	var_s = var_s + "BvESVZ1g0ZwplWNYtHcXZXDWbYHESWA2C2Fxklkdgdh8aJXmGLYvGaBoME2RxylydxNlcdpcGGPZfHqXp3C2M4fIv3sD3ACMETAnALgJF+PAbgPh7jEHiFsXgNgxjyA4";
	var_s = var_s + "I8EoyR5CcFeCEY48huDPBqMsYYXBvg9GUPMDg/wiBjHoD0D4PRpD0G4NdcY8hoDZEqNcewHRHhlGyPYTofwujaHuB0Z4bQGh3C6O9ng9xvAJEqA0TIfgXiNHGPkDznxx";
	var_s = var_s + "D4E8F8To5x8iQGuKEdI+QvBvFSOuKotxYjpGGGYN4vR3j8A+A8Yo8R9jeHeMkeY/QPgsBoGcPonw3jdHuP4D4jxsgNH8F8V47R7D+E+L8eo+A/g/G+PwGYnx1j/D+FAA";
	var_s = var_s + "wAQfhoASAEL4lADiBAePEeowBcANAGGAOgCQhhDCMAoIIWAWgFHAMQDIghEBuAaEEbAPQChgHIB8QgUAxAQGEDgJgNAwgsBOIQJAbUpCoBoIoCAtAJiFGgMEBQwwqBjA";
	var_s = var_s + "WCEYAcwigoCgIAQBAQ==";
	exschedule1.VisualAppearance().Add(1,COMVariant::createFromStr(var_s));
	exschedule1.OnResizeControl(768/*exChangePanels | exHideSplitter*/);
	exschedule1.Calendar().Selection(COMVariant::createFromDate(str2Date("6/27/2012",213)));
	exschedule1.BodyEventBackColor(0x1000000);
	exschedule1.ShowStatusEvent(false);
	exschedule1.DefaultEventPadding(-1/*exPaddingAll*/,3);
	exschedule1.Background(75/*exScheduleCreateEventBackColor*/,0x1000000);
	exschedule1.Background(79/*exScheduleUpdateEventsBackColor*/,0x1000000);
	var_Events = exschedule1.Events(); com_Events = var_Events;
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("6/27/2012 11:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("6/27/2012 12:30:00",213)))); com_Event = var_Event;
		com_Event.BodyBackColor(WinApi::RGB2int(255,0,0));
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("6/27/2012 11:30:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("6/27/2012 13:30:00",213)))); com_Event = var_Event;
		com_Event.BodyBackColor(WinApi::RGB2int(0,255,0));
	exschedule1.EndUpdate();
}
191
Is it possible to change the appearance of event's status using the EBN (office theme)

public void init()
{
	COM com_Appearance,com_Event,com_Event1,com_Events;
	anytype var_Appearance,var_Event,var_Event1,var_Events;
	str var_s,var_s1;
	;

	super();

	exschedule1.BeginUpdate();
	exschedule1.OnResizeControl(768/*exChangePanels | exHideSplitter*/);
	var_Appearance = exschedule1.VisualAppearance(); com_Appearance = var_Appearance;
		var_s = "gBFLBCJwBAEHhEJAEGg4BKYCg6AADACAxRDAMgBQKAAzQFAYaBqGqGAAGKD4JhUAIIRZGMIjFDcEwxC6NIpAWCYRDEMQ0AJCIzDJCIZBkHCPRjASQZUhmHIDTbIEBxfI";
		var_s = var_s + "MIxLE9IMwxfA8ax1GifI6hGSYDa0HAkABTVQRLL4aSDK6NaYmSL5DhkBokUpGKTpOhgATHMqqIzGURZNquEQ1DBbEI3BaUaw/CKRLAoahqVpqK4tS7MNa3XKkcxzD6eI";
		var_s = var_s + "ypGBKAgmQoJDLRGIxTiYACxPQACzsEAKapKUZPRZVNYQJQlNRDLiEcrgOr4DxqO4aWbZViaDZVawlNy5bhtfaqGrfKYJYLrWCTbh0Tz9KzIJJwHbcKxjKrDczjEoSVwi";
		var_s = var_s + "AmSgcGmIxaggHBHFmFpoHEJwbg8FpammO5bEUaxbm6ZwDH+YI7EIQQQhKAYkkYdA6hyDI4ngGRIA8AwQgSV51BkDYQhCIQJHeHAkCAGBFgGR55m8CQBkONkYCEEgxGeB";
		var_s = var_s + "ZJHQDgTgWFhFgyf4HmICByBqBRhmiAgmD+YggAIHIJmKSIhGMQJijiNgmgoYwYkoH4NCIWJaC6BhiiiZg2g4CR4moN4LmOWQGEKEAkCibgwg+vwiEeEQjFifhQhMIpZD";
		var_s = var_s + "oOoViUKJyFGExlDkGhXhcZIZGIXIWiUSIyGKFRmAkPhkheJYZC4bIYmaaYGGmF5mjmSh1hqJwZmIRYdieGZSH2GxnjmahbhoJx5nqAYhigOYaHOIAohiHhniKKBaDIZY";
		var_s = var_s + "jiiOZCgeJImnoEh/iWKJYk6FYmikehyhOJ4pBqCoZiQKY6gKHYIGmeoiiGKoqDqMoliwKh6FKM4riqOQOjeLYqhqYoxi6K5anKL4visWoSkGMYsDsCo5hKLIbCKS4jmy";
		var_s = var_s + "Kp+kyM5qlsRpFiyLB7GKTY2i0Spuk6NItAsfpXjALY7hKXYIk6Wh2CmBphgqOgTjuYhIHachAlAECAg=";
		com_Appearance.Add(1,COMVariant::createFromStr(var_s));
		com_Appearance.Add(2,"CP:1 0 0 1 0");
		var_s1 = "gBFLBCJwBAEHhEJAEGg4BGoDg6AADACAxRDAMgBQKAAzQFAYaBqGqGAAGKD4JhUAIIRZGMIjFDcEwxC6NIpASLoJDCH4mSTHYxyHIMWwtDiBZgkCA4fiGEYnThKM5SdK";
		var_s1 = var_s1 + "sXABG6NErSdDAAoKRIVTjAcsVTicAo+R7TcYgLBNAQHKQAHZDQRKZpuFoRRKJNgDLYUEhqGCyYDseyZNj2GZYRDPVqzWAFFzrFSqLilaYpSh+bpfSRSVI3PakQz+LCNC";
		var_s1 = var_s1 + "zwEAKYoaRZDRZgdzUbItMYNBKsMQgO6QAwqNKYQjWVaaFgEYzJMa2LTiHSqQhrGqMQjnV5ZPgVzZKZZGVQ1LBOOZfEJ2XacSqeCyWEqnRryFpWRpfGXiX7EOY7HaePwD";
		var_s1 = var_s1 + "AQQhKAaEwZlCahyDKDBjm4a5JAiG5jgyDYhCKDZukYSAYgsLAzh0RBlBqBAkA4Ox+n+H5AAGDJWDWH5jFmdBQl8Z5yAGAZfngDZ6H9HIiACAhUCgMgPgSYAYA4EoDiEW";
		var_s1 = var_s1 + "BGBiAxhAIXAADITRzGIIA2AyAxYleCJhGiFgnggYg4iIEYImKKIqC6B4iliMg2DYIRolYIoLA2ExmDmDwNhiNg9g+Y44goPYMmGeJeEKD4hBMMJbDaTIYnYTg2mUOBaF";
		var_s1 = var_s1 + "OFZknkVhNhYZZJFIT4ViWWRElmFohmkYhehQJA4ESTg3A2WYuG2GwmmgWhuhyZwJjIcodGaeZmGANpnEMdhkAAJ5ZE4cYaieCZ2HeHhoGoEoIh4IRjESXg3iialFiQaJ";
		var_s1 = var_s1 + "aE6Fokg2ahWhiJBpEgRociWaZYHqH4mmiehqiOKBAAqDJUDgTgaiyYYFiqapGiyK4rAqTosiQa14jKKxrGqPo6i8a46laPIwmuGB6juMBrnsEo9jCLB6jKTIwCyawmk2";
		var_s1 = var_s1 + "L4sGsQpDjObIrFAAA2E4U4WlyN4tlsfgWjebhLgaXY4waApqjoLorhSZY7C6a4KBGPBuhuQppjyIZrlKa48m8e5WBENwOHOIyNDAHAOBaQJwgwFwBgWDZziSaZCHAQ4j";
		var_s1 = var_s1 + "AeQoxBwGp/kUMQME8FZFDGLBDBaB4xmwcwXkacQcDMDpDE6HIjCiSYyhyHwuDocpMisL5MHKfIuBGTIylyZgWDgToziyYg7A6TJ8myTwO7KPZRDQLQTEYOp0g0AxKgQd";
		var_s1 = var_s1 + "BNDcQ5PHSPRHEeVQ1A0XxMlaNRdGsT4Hg4Q44m2WB2D2CxkgWNhNicZpYjaDYvGWW52l2PxqDsdz+meBBOGOIEcAdAPAnEcPIPAbx4C2H+MEd4XAHDxGEPEDgBh6jBDi";
		var_s1 = var_s1 + "DwEI4QFhvEOI8EYyR3i8EMPsZQcguCsBGMwOQMApj5GYEAPg8RtAADoDAFY9xpiAAQAggIA=";
		com_Appearance.Add(4,COMVariant::createFromStr(var_s1));
	exschedule1.Calendar().Selection(COMVariant::createFromDate(str2Date("6/27/2012",213)));
	exschedule1.StatusEventColor(0x2000000);
	exschedule1.BodyEventBackColor(0x4000000);
	exschedule1.Background(75/*exScheduleCreateEventBackColor*/,0x1000000);
	exschedule1.Background(79/*exScheduleUpdateEventsBackColor*/,0x1000000);
	exschedule1.StatusEventSize(6);
	exschedule1.DefaultEventPadding(-1/*exPaddingAll*/,2);
	var_Events = exschedule1.Events(); com_Events = var_Events;
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("6/27/2012 11:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("6/27/2012 12:30:00",213)))); com_Event = var_Event;
		com_Event.BodyBackColor(WinApi::RGB2int(255,0,0));
		var_Event = com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("6/27/2012 11:30:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("6/27/2012 13:30:00",213))); com_Event = var_Event;
			com_Event.BodyBackColor(WinApi::RGB2int(0,255,0));
			com_Event.StatusColor(WinApi::RGB2int(0,0,128));
			com_Event.ExtraLabel("Point");
		var_Event1 = com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("6/27/2012 8:30:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("6/27/2012 11:45:00",213))); com_Event1 = var_Event1;
			com_Event1.StatusColor(WinApi::RGB2int(255,0,255));
	exschedule1.EndUpdate();
}
190
Does your control support subscript or superscript, in HTML captions

public void init()
{
	COM com_Event,com_Events;
	anytype var_Event,var_Events;
	;

	super();

	exschedule1.BodyEventBackColor(WinApi::RGB2int(240,240,240));
	exschedule1.Calendar().Selection(COMVariant::createFromDate(str2Date("6/20/2012",213)));
	var_Events = exschedule1.Events(); com_Events = var_Events;
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("6/20/2012 9:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("6/20/2012 11:00:00",213)))); com_Event = var_Event;
		com_Event.ExtraLabel("<sha ;;0>Event <b><font ;6><off 4>1");
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("6/20/2012 11:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("6/20/2012 13:00:00",213)))); com_Event = var_Event;
		com_Event.ExtraLabel("<sha ;;0>Event <b><font ;6><off 4>2");
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("6/20/2012 13:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("6/20/2012 15:00:00",213)))); com_Event = var_Event;
		com_Event.ExtraLabel("<sha ;;0>Event <b><font ;6><off -6>2<off 4>3<off 4>1");
}
189
How can I hide the scheduler part of the control, so I can use the calendar panel only

public void init()
{
	;

	super();

	exschedule1.OnResizeControl(257/*exHideSplitter | exResizePanelRight*/);
}
188
I see how I can specify a non-working day pattern for weekends, but how can I specify non-working days for holidays

public void init()
{
	COM com_Calendar,com_NonworkingTimes;
	anytype var_Calendar,var_NonworkingTimes;
	;

	super();

	var_Calendar = exschedule1.Calendar(); com_Calendar = var_Calendar;
		com_Calendar.SelectDate(str2Date("5/28/2012",213),true);
		com_Calendar.Select(3/*exSelectWeek*/);
		com_Calendar.SelectDate(str2Date("6/5/2012",213),false);
		com_Calendar.Select(19/*exSelectToggle | exSelectWeek*/);
		com_Calendar.SelectDate(str2Date("6/12/2012",213),false);
		com_Calendar.Select(19/*exSelectToggle | exSelectWeek*/);
	var_NonworkingTimes = exschedule1.NonworkingTimes(); com_NonworkingTimes = var_NonworkingTimes;
		com_NonworkingTimes.Add("month(value) = 5","00:00","24:00",-1);
		com_NonworkingTimes.Add("value in (#6/5/2012#,#6/7/2012#)","00:00","24:00",-1);
}
187
How do I enable the scrollbar-extension, as thumb to be shown outside of the control's client area

public void init()
{
	;

	super();

	exschedule1.BeginUpdate();
	exschedule1.ScrollBars(15/*exDisableBoth*/);
	exschedule1.ScrollPartVisible(0/*exVScroll*/,65536/*exExtentThumbPart*/,true);
	exschedule1.ScrollPartVisible(1/*exHScroll*/,65536/*exExtentThumbPart*/,true);
	exschedule1.ScrollPartVisible(2,65536/*exExtentThumbPart*/,true);
	exschedule1.ScrollWidth(4);
	exschedule1.Background(276/*exVSBack*/,WinApi::RGB2int(240,240,240));
	exschedule1.Background(260/*exVSThumb*/,WinApi::RGB2int(128,128,128));
	exschedule1.ScrollHeight(4);
	exschedule1.Background(404/*exHSBack*/,exschedule1.Background(276/*exVSBack*/));
	exschedule1.Background(388/*exHSThumb*/,exschedule1.Background(260/*exVSThumb*/));
	exschedule1.Background(511/*exScrollSizeGrip*/,exschedule1.Background(276/*exVSBack*/));
	exschedule1.EndUpdate();
}
186
How can I show contiguously the days, in a single row

public void init()
{
	COM com_Calendar;
	anytype var_Calendar;
	;

	super();

	var_Calendar = exschedule1.Calendar(); com_Calendar = var_Calendar;
		com_Calendar.SelectDate(str2Date("5/20/2012",213),true);
		com_Calendar.Select(3/*exSelectWeek*/);
		com_Calendar.SelectDate(str2Date("5/27/2012",213),false);
		com_Calendar.Select(19/*exSelectToggle | exSelectWeek*/);
	exschedule1.ShowViewCompact(1/*exViewSingleRow*/);
}
185
How can I show contiguously the days

public void init()
{
	COM com_Calendar;
	anytype var_Calendar;
	;

	super();

	var_Calendar = exschedule1.Calendar(); com_Calendar = var_Calendar;
		com_Calendar.SelectDate(str2Date("5/20/2012",213),true);
		com_Calendar.Select(3/*exSelectWeek*/);
		com_Calendar.SelectDate(str2Date("5/27/2012",213),false);
		com_Calendar.Select(19/*exSelectToggle | exSelectWeek*/);
	exschedule1.ShowViewCompact(-1/*exViewCalendarCompact*/);
}
184
How can I display the time in european format with no usage of AM/PM

public void init()
{
	COM com_Calendar,com_Events,com_TimeScale;
	anytype var_Calendar,var_Events,var_TimeScale;
	;

	super();

	var_TimeScale = COM::createFromObject(exschedule1.TimeScales()).Item(COMVariant::createFromInt(0)); com_TimeScale = var_TimeScale;
		com_TimeScale.MajorTimeLabel("<%hh%>:<%nn%>");
		com_TimeScale.Width(32);
	var_Calendar = exschedule1.Calendar(); com_Calendar = var_Calendar;
		com_Calendar.Selection(COMVariant::createFromDate(str2Date("6/11/2001",213)));
		com_Calendar.ShortTimeFormat("<%h%>:<%nn%>");
	var_Events = exschedule1.Events(); com_Events = var_Events;
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("6/11/2001 10:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("6/11/2001 13:15:00",213)));
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("6/11/2001 10:30:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("6/11/2001 14:30:00",213)));
}
183
Is it possible to zoom the schedule component using a key and scrolling the wheel (not pressing it and moving the mouse)
public void init()
{
	;

	super();

	exschedule1.AllowResizeSchedule(19/*exCTRLKey | exMiddleClick*/);
	exschedule1.AllowMoveSchedule(3/*exMiddleClick*/);
}
182
How can I change the format of the date being displayed in the calendar panel

public void init()
{
	;

	super();

	exschedule1.Calendar().HeaderDayLabel("<sha><%mmmm%></sha> <sha><fgcolor=FF0000><%yyyy%></fgcolor></sha>");
}
181
How can I display the Year in Thai, Buddhist, Korean format

public void init()
{
	COM com_Calendar;
	anytype var_Calendar;
	str var_s;
	;

	super();

	var_Calendar = exschedule1.Calendar(); com_Calendar = var_Calendar;
		com_Calendar.FirstWeekDay(com_Calendar.LocFirstWeekDay());
		com_Calendar.MonthNames(com_Calendar.LocMonthNames());
		com_Calendar.WeekDays(com_Calendar.LocWeekDays());
		com_Calendar.AMPM(com_Calendar.LocAMPM());
		com_Calendar.HeaderDayLabel("<%mmmm%> <fgcolor=FF0000><%loc_yyyy%>");
	var_s = "<|><%dddd%>, <%mmmm%> <%d%>, <fgcolor=FF0000><%loc_yyyy%><|><%dddd%>,<%mmmm%> <%d%>,<fgcolor=FF0000><%loc_yyyy%><|><%dddd%>, <%m";
	var_s = var_s + "mmm%> <%d%>,`<fgcolor=FF0000><%loc_yy%><|><%dddd%>, <%mmmm%> <%d%><|><%dddd%>, <%m3%> <%d%><|><%dddd%>, <%d%><|><%dddd%><|><%d3%";
	var_s = var_s + "><|><%d2%><|><%d1%>";
	exschedule1.HeaderDayLongLabel(var_s);
}
180
May I specify a fixed width for my dates, so user can not resize it
public void init()
{
	;

	super();

	exschedule1.BeginUpdate();
	exschedule1.OnResizeControl(3585/*exCalendarAutoHide | exCalendarFit | exChangePanels | exResizePanelRight*/);
	exschedule1.AllowResizeSchedule(0/*exDisallow*/);
	exschedule1.AllowMoveSchedule(3/*exMiddleClick*/);
	exschedule1.ShowViewCompact(-1/*exViewCalendarCompact*/);
	exschedule1.DayViewWidth(96);
	exschedule1.DayViewHeight(256);
	exschedule1.EndUpdate();
}
179
How can I change the format of date being displayed on the header
public void init()
{
	str var_s;
	;

	super();

	var_s = "<|><%dddd%>, <%d%> <%mmmm%>, <%yyyy%><|><%dddd%>, <%d%> <%mmmm%>, <%yyyy%><|><%dddd%>, <%d%> <%mmmm%>,`<%yy%><|><%dddd%>, <%d%> ";
	var_s = var_s + "<%mmmm%><|><%dddd%>, <%d%> <%m3%><|><%dddd%>, <%d%><|><%dddd%><|><%d3%><|><%d2%><|><%d1%>";
	exschedule1.HeaderDayLongLabel(var_s);
}
178
Is there any notifications for exchanging the panels at runtime
// LayoutEndChanging event - Notifies your application once the control's layout has been changed.
void onEvent_LayoutEndChanging(int   _Operation)
{
	;
	print( "End exLayoutExchangePanels(16)" );
	print( _Operation );
}

// LayoutStartChanging event - Occurs when the control's layout is about to be changed.
void onEvent_LayoutStartChanging(int   _Operation)
{
	;
	print( "Start exLayoutExchangePanels(16)" );
	print( _Operation );
}

public void init()
{
	;

	super();

	exschedule1.AllowExchangePanels(1/*exLeftClick*/);
	exschedule1.AllowCreateEvent(0/*exDisallow*/);
}
177
How can I handle the All-Day events only

public void init()
{
	COM com_Calendar,com_Event,com_TimeScale;
	anytype var_Calendar,var_Event,var_TimeScale;
	;

	super();

	exschedule1.BeginUpdate();
	exschedule1.OnResizeControl(3072/*exCalendarAutoHide | exCalendarFit*/);
	exschedule1.ShowAllDayHeader(true);
	var_Calendar = exschedule1.Calendar(); com_Calendar = var_Calendar;
		com_Calendar.SelectDate(str2Date("5/8/2012",213),true);
		com_Calendar.Select(3/*exSelectWeek*/);
		com_Calendar.SelectDate(str2Date("5/15/2012",213),false);
		com_Calendar.Select(19/*exSelectToggle | exSelectWeek*/);
	var_TimeScale = COM::createFromObject(exschedule1.TimeScales()).Item(COMVariant::createFromInt(0)); com_TimeScale = var_TimeScale;
	com_TimeScale.Visible(false);
	var_Event = COM::createFromObject(exschedule1.Events()).Add(COMVariant::createFromDate(str2Date("5/8/2012",213)),COMVariant::createFromDate(str2Date("5/17/2012",213))); com_Event = var_Event;
	com_Event.AllDayEvent(true);
	exschedule1.EndUpdate();
}
176
Is it possible to show the All-Day events with EBN including the next/prev signs (2)

public void init()
{
	COM com_Calendar,com_Event;
	anytype var_Calendar,var_Event;
	str var_s,var_s1,var_s2;
	;

	super();

	exschedule1.BeginUpdate();
	exschedule1.OnResizeControl(3072/*exCalendarAutoHide | exCalendarFit*/);
	exschedule1.ShowAllDayHeader(true);
	var_Calendar = exschedule1.Calendar(); com_Calendar = var_Calendar;
		com_Calendar.SelectDate(str2Date("5/8/2012",213),true);
		com_Calendar.Select(3/*exSelectWeek*/);
		com_Calendar.SelectDate(str2Date("5/15/2012",213),false);
		com_Calendar.Select(19/*exSelectToggle | exSelectWeek*/);
	var_s = "gBFLBCJwBAEHhEJAEGg4BbkMQAAYAQGKIYBkAKBQAGaAoDDcOILQiMQzjTBMKgBBCLIxiGK4DhiF4aRSBMIwYAAYhyG4BIRGcYJEDMOQzR4MICSBKkMhlDiPY5mUAJEi";
	var_s = var_s + "SJg3TDQlzpAoSGoeUhGTZnQaQASXJqKZ6kegoEh4MopTTHQLRUB8EyTDKnaapSJpEDINQlWTZciDKKFUQTNi3KxraKqbjqO47VJKEpSZBMXRhBIYZCueZZXgPBY5YhIE";
	var_s = var_s + "64BSeASoACDZzoaAwTrOAwUZZFVg2DSOGSBRzQMKrCZKagnFYDVzleYxLjdR47Qy1Ih2GA7QqubYkUTmOjgBaoAYxQaaLx0OS5Rj4NAwZLFXI1eAGd6BDLhLz4XAOHxH";
	var_s = var_s + "jmAZvGOWoeG8PhBiMGIMGOQxZCQOBpGUG4NncEIdB8MxLhSbpRnMIIIEkQJSGMOgdE4RhfAwJZtAwEIEleeQZA2EIQiECR2ludB8BgRYMAeKYDByB4DG5F4hBgTgWgUY";
	var_s = var_s + "YIFIGoFmGOBlAmBJMmMQJwggYg4goJIJmIaImCWCpigiLgTgeYQYjYMoKiMOIyDSCIinQDggg2YxonYNYNGOEACDuD4jkifhFg4IQYkCW4RiQSQ2ECEhjiiRhHhOJQ4j";
	var_s = var_s + "YQYQmSSRmFOFZlCkUhehMJZJC4VYYmWaYGFqF5ljkQhChcZh5jYKoZiYSY6D2HAmgmVhWhqJYJkYeoLieCYyHuHInEmSoAh8Zgplof4SA2OQqgKIZPAmBgciOYYaEIHY";
	var_s = var_s + "kmQFAEIC";
	exschedule1.VisualAppearance().Add(1,COMVariant::createFromStr(var_s));
	var_s1 = "gBFLBCJwBAEHhEJAEGg4BVMIQAAYAQGKIYBkAKBQAGaAoDDYMwzQwAAxjOK0EwsACEIrjKCRShyCYZRhGcTSBCIZBqEqSZLiEZRQiiCYsS5GQBSFDcOwHGyQYDkCQpEh";
	var_s1 = var_s1 + "yKo+CTIAySXJsdw3IyNAIhEB4fgmM4DP7UIAVC78aRABCESgNEwzULUchlDDICJQSQRGzHDSKYDFCCaKgOTI6kgicpJUt6PBtaovKoWOZBcJ3Xjed6vBgeASpQbEL6wD";
	var_s1 = var_s1 + "CbfrjB6KY5eeDXXSkAkB";
	exschedule1.VisualAppearance().Add(2,COMVariant::createFromStr(var_s1));
	var_s2 = "gBFLBCJwBAEHhEJAEGg4BVUIQAAYAQGKIYBkAKBQAGaAoDDYMwzQwAAxjOK0EwsACEIrjKCRShyCYZRhGcTSBCIZBqEqSZLiEZRQiiCYsS5GQBSFDcOwHGyQYDkCQpEh";
	var_s2 = var_s2 + "yKo+CTIAySXJsZxpHKaAIhEB4fgmRgAP7UNQVFLkEgRBIoDRMM5DVLIZQxSAiUIkERtRQ1CqBRQhGioDoyOgABhFZSUPKlIztO45DwbO56RrlWzONA8FzXdgDYYLQjAc";
	var_s2 = var_s2 + "JwXA7awrAZ8P7iGBZBbtdQCgIA==";
	exschedule1.VisualAppearance().Add(3,COMVariant::createFromStr(var_s2));
	exschedule1.BodyEventBackColor(0x1000000);
	exschedule1.Background(86/*exScheduleEventContinueNextWeek*/,0x2000000);
	exschedule1.Background(85/*exScheduleEventContinuePrevWeek*/,0x3000000);
	exschedule1.HeaderAllDayEventHeight(-14);
	var_Event = COM::createFromObject(exschedule1.Events()).Add(COMVariant::createFromDate(str2Date("5/8/2012",213)),COMVariant::createFromDate(str2Date("5/17/2012",213))); com_Event = var_Event;
	com_Event.AllDayEvent(true);
	exschedule1.EndUpdate();
}
175
How can I select programatically two weeks

public void init()
{
	COM com_Calendar;
	anytype var_Calendar;
	;

	super();

	var_Calendar = exschedule1.Calendar(); com_Calendar = var_Calendar;
		com_Calendar.SelectDate(str2Date("5/8/2012",213),true);
		com_Calendar.Select(3/*exSelectWeek*/);
		com_Calendar.SelectDate(str2Date("5/15/2012",213),false);
		com_Calendar.Select(19/*exSelectToggle | exSelectWeek*/);
}
174
Is it possible to show the All-Day events with EBN including the next/prev signs (1)

public void init()
{
	COM com_Calendar,com_Event;
	anytype var_Calendar,var_Event;
	str var_s,var_s1,var_s2;
	;

	super();

	exschedule1.BeginUpdate();
	exschedule1.OnResizeControl(2048/*exCalendarAutoHide*/);
	exschedule1.ShowAllDayHeader(true);
	var_Calendar = exschedule1.Calendar(); com_Calendar = var_Calendar;
		com_Calendar.FirstWeekDay(1/*exMonday*/);
		com_Calendar.SelectDate(str2Date("5/8/2012",213),true);
		com_Calendar.Select(3/*exSelectWeek*/);
		com_Calendar.SelectDate(str2Date("5/15/2012",213),false);
		com_Calendar.Select(19/*exSelectToggle | exSelectWeek*/);
	var_s = "gBFLBCJwBAEHhEJAEGg4BbkMQAAYAQGKIYBkAKBQAGaAoDDcOILQiMQzjTBMKgBBCLIxiGK4DhiF4aRSBMIwYAAYhyG4BIRGcYJEDMOQzR4MICSBKkMhlDiPY5mUAJEi";
	var_s = var_s + "SJg3TDQlzpAoSGoeUhGTZnQaQASXJqKZ6kegoEh4MopTTHQLRUB8EyTDKnaapSJpEDINQlWTZciDKKFUQTNi3KxraKqbjqO47VJKEpSZBMXRhBIYZCueZZXgPBY5YhIE";
	var_s = var_s + "64BSeASoACDZzoaAwTrOAwUZZFVg2DSOGSBRzQMKrCZKagnFYDVzleYxLjdR47Qy1Ih2GA7QqubYkUTmOjgBaoAYxQaaLx0OS5Rj4NAwZLFXI1eAGd6BDLhLz4XAOHxH";
	var_s = var_s + "jmAZvGOWoeG8PhBiMGIMGOQxZCQOBpGUG4NncEIdB8MxLhSbpRnMIIIEkQJSGMOgdE4RhfAwJZtAwEIEleeQZA2EIQiECR2ludB8BgRYMAeKYDByB4DG5F4hBgTgWgUY";
	var_s = var_s + "YIFIGoFmGOBlAmBJMmMQJwggYg4goJIJmIaImCWCpigiLgTgeYQYjYMoKiMOIyDSCIinQDggg2YxonYNYNGOEACDuD4jkifhFg4IQYkCW4RiQSQ2ECEhjiiRhHhOJQ4j";
	var_s = var_s + "YQYQmSSRmFOFZlCkUhehMJZJC4VYYmWaYGFqF5ljkQhChcZh5jYKoZiYSY6D2HAmgmVhWhqJYJkYeoLieCYyHuHInEmSoAh8Zgplof4SA2OQqgKIZPAmBgciOYYaEIHY";
	var_s = var_s + "kmQFAEIC";
	exschedule1.VisualAppearance().Add(1,COMVariant::createFromStr(var_s));
	var_s1 = "gBFLBCJwBAEHhEJAEGg4BKMMQAAYAQGKIYBkAKBQAGaAoDDUNgwQwAAxDGKkEwsACEIrjKCRShyCYZRhGcTSBCIZBqEqSZLiEZRQiiCYsS5GQBSFDcOwHGyQYDkCQpEh";
	var_s1 = var_s1 + "yKo+CTIA4SXJsdxpI4EIRCSL6MgNf5PABTb7zTSgYANF6WRZgWgpTjcMJHTpYFIwHRdQwHLqoagqKZJAqMABQGiYZyHKcwMYgBZXJBEbbMNBtBIUIRtaxZBBiFzgUZYE";
	var_s1 = var_s1 + "BnEbDN4YbapMhyLI2OZBcCOJQ4SCoW4GJ49J7KXgYZiHOLcfjcLovLq5fiOQ5CV5ZXROM6sQyzIKWaCzLL5PjKHInWrPNa3DJtDyXJzUNY9GScG6HBLhWB0czzXIuO4d";
	var_s1 = var_s1 + "jqXg4jUOo9j8N4Zk6YoeA+bZKhcV49kyaAllODhPC8d5bi+WJ6H0fhvHcExIHgQB4nuHpOj4Y4zioeQfDePZRGcHI3lGIh9h4JwhkodQckecY9G+WpHDmUAdAeNwCBEf";
	var_s1 = var_s1 + "RcGaIZ/G2D52gWfR0iGRhFg8Y5iBYTQBICA=";
	exschedule1.VisualAppearance().Add(2,COMVariant::createFromStr(var_s1));
	var_s2 = "gBFLBCJwBAEHhEJAEGg4BgsHQAAYAQGKIYBkAKBQAGaAoDDUNgwQwAAxDGKkEwsACEIrjKCRShyCYZRhGcTSBCIZBqEqSZLiEZRQiiCYsS5GQBSFDcOwHGyQYDkCQpEh";
	var_s2 = var_s2 + "yKo+CTIA4SXJsZxpI6EQQhEJIfo2Az/VAAFQPfLNKhgAyXZZFWBaCoaEgwUhVMhUVAdGR1BKvKjqKoZcomCRQGiYZyHKcwMYgBZRRBEbbMNBtBIULasWjQYhdYI7WDTd";
	var_s2 = var_s2 + "R4XhmGDkPBtcbbPDcUpBBSLOAjSSOExzILhSrFVyXVzTXL5XDGMg7Wa5foFIDmPRtVbWNydLyvICOJK2eZOExrHrhWrPMZaRpnUyXJ6pcBvfA4Zi7QZlWjPOR2aoNCZb";
	var_s2 = var_s2 + "juXpyjsPIahmYJ/keVR0HwPYsnIXQ4mSZ50jwXIfC+HxnmmcZ2HuCAOn+P43lSUZ1neXxeF4L4bmgeoeCcCZEHcXxIAGLBlBuBpphsdgfGaNB0B6WwXjoARrE+dxVkYa";
	var_s2 = var_s2 + "geAgHgUD+XJWm2U4GliNhJhIQBAICA==";
	exschedule1.VisualAppearance().Add(3,COMVariant::createFromStr(var_s2));
	exschedule1.BodyEventBackColor(0x1000000);
	exschedule1.Background(86/*exScheduleEventContinueNextWeek*/,0x2000000);
	exschedule1.Background(85/*exScheduleEventContinuePrevWeek*/,0x3000000);
	exschedule1.HeaderAllDayEventHeight(-20);
	var_Event = COM::createFromObject(exschedule1.Events()).Add(COMVariant::createFromDate(str2Date("5/8/2012",213)),COMVariant::createFromDate(str2Date("5/17/2012",213))); com_Event = var_Event;
	com_Event.AllDayEvent(true);
	exschedule1.EndUpdate();
}
173
Can I make it zoom in using CTRL-MouseWheel instead of using the middle button
public void init()
{
	;

	super();

	exschedule1.AllowResizeSchedule(19/*exCTRLKey | exMiddleClick*/);
}
172
It is by default not possible, to simply scroll the component with the mouse wheel. How do I make it so
public void init()
{
	;

	super();

	exschedule1.AllowMoveSchedule(3/*exMiddleClick*/);
}
171
Can I get and set the width of the time bar
public void init()
{
	COM com_TimeScale;
	anytype var_TimeScale;
	;

	super();

	var_TimeScale = COM::createFromObject(exschedule1.TimeScales()).Item(COMVariant::createFromInt(0)); com_TimeScale = var_TimeScale;
	com_TimeScale.Width(48);
}
170
How do I select the current year

public void init()
{
	;

	super();

	exschedule1.ShowViewCompact(-1/*exViewCalendarCompact*/);
	exschedule1.OnResizeControl(2048/*exCalendarAutoHide*/);
	exschedule1.Calendar().Select(1/*exSelectYear*/);
}
169
How do I select the current week day

public void init()
{
	;

	super();

	exschedule1.ShowViewCompact(-1/*exViewCalendarCompact*/);
	exschedule1.Calendar().Select(4/*exSelectWeekDay*/);
}
168
How do I select the current week

public void init()
{
	;

	super();

	exschedule1.ShowViewCompact(-1/*exViewCalendarCompact*/);
	exschedule1.Calendar().Select(3/*exSelectWeek*/);
}
167
How can I restore the layout of the panels, when user changes the width and the alignment of the panels
// LayoutEndChanging event - Notifies your application once the control's layout has been changed.
void onEvent_LayoutEndChanging(int   _Operation)
{
	;
	print( "End Operation " );
	print( _Operation );
	print( "Layout " );
	print( exschedule1.OnResizeControl() );
	print( "PaneWidth(False)" );
	print( exschedule1.PaneWidth(false) );
}

// LayoutStartChanging event - Occurs when the control's layout is about to be changed.
void onEvent_LayoutStartChanging(int   _Operation)
{
	;
	print( "Start Operation " );
	print( _Operation );
	print( "Layout " );
	print( exschedule1.OnResizeControl() );
	print( "PaneWidth(False)" );
	print( exschedule1.PaneWidth(false) );
}

// MouseMove event - Occurs when the user moves the mouse.
void onEvent_MouseMove(int   _Button,int   _Shift,int   _X,int   _Y)
{
	;
	print( "Layout " );
	print( exschedule1.OnResizeControl() );
	print( "PaneWidth(False)" );
	print( exschedule1.PaneWidth(false) );
}

public void init()
{
	;

	super();

}
166
Is it possibly to set the column width of the group/person using the api

public void init()
{
	COM com_Event,com_Events,com_Group,com_Group1,com_Group2,com_Groups;
	anytype var_Event,var_Events,var_Group,var_Group1,var_Group2,var_Groups;
	;

	super();

	exschedule1.BeginUpdate();
	exschedule1.Calendar().Selection(COMVariant::createFromDate(str2Date("1/10/2001",213)));
	exschedule1.DisplayGroupingButton(true);
	exschedule1.ShowGroupingEvents(true);
	exschedule1.OnResizeControl(3073/*exCalendarAutoHide | exCalendarFit | exResizePanelRight*/);
	var_Groups = exschedule1.Groups(); com_Groups = var_Groups;
		var_Group = com_Groups.Add(1,"Group 1"); com_Group = var_Group;
			com_Group.Title("First");
			com_Group.Visible(true);
		var_Group1 = com_Groups.Add(2,"Group 2"); com_Group1 = var_Group1;
			com_Group1.Title("Second");
			com_Group1.Visible(true);
	var_Events = exschedule1.Events(); com_Events = var_Events;
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 9:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 12:30:00",213)))); com_Event = var_Event;
		com_Event.GroupID(1);
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 10:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 13:00:00",213)))); com_Event = var_Event;
		com_Event.GroupID(2);
	var_Group2 = COM::createFromObject(exschedule1.Groups()).Item(COMVariant::createFromInt(1)); com_Group2 = var_Group2;
	com_Group2.Width(24);
	exschedule1.EndUpdate();
}
165
When viewing the schedule by week or month and the month ends during the week (July 31, Tuesday -> August 1, Wednesday), the days continue down as a new week 'row'. When there is a change in month, is it possible to still show the full week without that break (compact)

public void init()
{
	COM com_Calendar;
	anytype var_Calendar;
	;

	super();

	exschedule1.BeginUpdate();
	exschedule1.OnResizeControl(2048/*exCalendarAutoHide*/);
	var_Calendar = exschedule1.Calendar(); com_Calendar = var_Calendar;
		com_Calendar.Selection(COMVariant::createFromDate(str2Date("5/23/2012",213)));
		com_Calendar.Selection("month(value) in (5,6)");
	exschedule1.ShowViewCompact(-1/*exViewCalendarCompact*/);
	exschedule1.EndUpdate();
}
164
I want to change the default event tooltip. How can I do that

public void init()
{
	str var_s;
	;

	super();

	var_s = "<b>BEGIN:</b> <%=%1%><br><b>END:</b>: <%=%2%><br><b>LENGTH:</b> <%=((1:=int(0:= (date(%2)-date(%1)))) != 0 ? (=:1 + ' day(s)') :";
	var_s = var_s + " '') + (=:1 ? ' ' : '' ) + ((1:=int(0:=((=:0 - =:1 + 1/24/60/60/2)*24))) != 0 ? =:1 + ' hour(s)' : '' ) + (=:1 ? ' ' : '' ) + ((";
	var_s = var_s + "1:=round((=:0 - =:1)*60)) != 0 ? =:1 + ' min(s)' : '')%>";
	exschedule1.DefaultEventTooltip(var_s);
}
163
How can I select the entire week for a specified date

public void init()
{
	COM com_Calendar;
	anytype var_Calendar;
	;

	super();

	exschedule1.BeginUpdate();
	var_Calendar = exschedule1.Calendar(); com_Calendar = var_Calendar;
		com_Calendar.NonworkingDays(0);
		com_Calendar.ShowNonMonthDays(false);
		com_Calendar.FirstWeekDay(0/*exSunday*/);
		com_Calendar.Selection(COMVariant::createFromDate(str2Date("3/5/2012",213)));
		com_Calendar.Selection("(int((yearday(value) -1- ((7-weekday(value - yearday(value) + 1)) mod 7) )/7) = int((yearday(#3/5/2012#)-1)/7))");
	exschedule1.BorderSelStyle(-1/*exNoLines*/);
	exschedule1.Background(81/*exScheduleMarkTodayBackColor*/,WinApi::RGB2int(240,240,240));
	exschedule1.EndUpdate();
}
162
I have noticed that I can drag bars from All-Day header to time-zone and reverse. Is it possible to prevent that

public void init()
{
	COM com_Event,com_Events;
	anytype var_Event,var_Events;
	;

	super();

	exschedule1.BeginUpdate();
	exschedule1.OnResizeControl(2048/*exCalendarAutoHide*/);
	exschedule1.ShowAllDayHeader(true);
	exschedule1.AllowUpdateAllDayFlag(false);
	exschedule1.Calendar().Selection(COMVariant::createFromDate(str2Date("5/23/2012",213)));
	exschedule1.Calendar().Selection("value in (#5/23/2012#,#5/24/2012#,#5/25/2012#)");
	var_Events = exschedule1.Events(); com_Events = var_Events;
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 10:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 12:00:00",213)))); com_Event = var_Event;
		com_Event.ExtraLabel("<sha>dentist");
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromDate(str2Date("5/24/2012",213)),COMVariant::createFromDate(str2Date("5/25/2012",213)))); com_Event = var_Event;
		com_Event.AllDayEvent(true);
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromDate(str2Date("5/23/2012",213)),COMVariant::createFromDate(str2Date("5/24/2012",213)))); com_Event = var_Event;
		com_Event.AllDayEvent(true);
	exschedule1.SelectEventStyle(-1/*exNoLines*/);
	exschedule1.ShowSelectEvent(false);
	exschedule1.EndUpdate();
}
161
When an all-day event stretches over multiple days (ex. Monday thru Friday), is it possible to have that display as a continuous bar across those days instead of separate bars on each day

public void init()
{
	COM com_Event,com_Events;
	anytype var_Event,var_Events;
	;

	super();

	exschedule1.BeginUpdate();
	exschedule1.OnResizeControl(2048/*exCalendarAutoHide*/);
	exschedule1.ShowAllDayHeader(true);
	exschedule1.Calendar().Selection(COMVariant::createFromDate(str2Date("5/23/2012",213)));
	exschedule1.Calendar().Selection("value in (#5/23/2012#,#5/24/2012#,#5/25/2012#)");
	var_Events = exschedule1.Events(); com_Events = var_Events;
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 10:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 12:00:00",213)))); com_Event = var_Event;
		com_Event.ExtraLabel("<sha>dentist");
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromDate(str2Date("5/24/2012",213)),COMVariant::createFromDate(str2Date("5/25/2012",213)))); com_Event = var_Event;
		com_Event.AllDayEvent(true);
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromDate(str2Date("5/23/2012",213)),COMVariant::createFromDate(str2Date("5/24/2012",213)))); com_Event = var_Event;
		com_Event.AllDayEvent(true);
	exschedule1.SelectEventStyle(-1/*exNoLines*/);
	exschedule1.ShowSelectEvent(false);
	exschedule1.EndUpdate();
}
160
If I double click to a scheduled event and enter text, how can I read this newly entered text (i.e. what is its corresponding field)

// LayoutEndChanging event - Notifies your application once the control's layout has been changed.
void onEvent_LayoutEndChanging(int   _Operation)
{
	;
	print( exschedule1.EventFromPoint(-1,-1) );
}

public void init()
{
	COM com_Event,com_Events;
	anytype var_Event,var_Events;
	;

	super();

	exschedule1.BeginUpdate();
	exschedule1.Calendar().Selection(COMVariant::createFromDate(str2Date("5/24/2012",213)));
	var_Events = exschedule1.Events(); com_Events = var_Events;
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 10:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 12:00:00",213)))); com_Event = var_Event;
		com_Event.ExtraLabel("editable");
	exschedule1.SelectEventStyle(-1/*exNoLines*/);
	exschedule1.ShowSelectEvent(false);
	exschedule1.EndUpdate();
}
159
Is it possible to show the date's header with a shadow

public void init()
{
	;

	super();

	exschedule1.HeaderDayLongLabel("<sha><%dddd%>, <%mmmm%> <%d%>, <%yyyy%>");
	exschedule1.Calendar().OnSelectDate(1/*exEnsureVisibleDate*/);
	exschedule1.AllowResizeSchedule(0/*exDisallow*/);
}
158
We need to highlight a day for example no booking/disabling for that day, is the timezone good choice (method 3)

public void init()
{
	COM com_Calendar,com_NonworkingPattern,com_Pattern;
	anytype var_Calendar,var_NonworkingPattern,var_Pattern;
	;

	super();

	var_Calendar = exschedule1.Calendar(); com_Calendar = var_Calendar;
		com_Calendar.Selection(COMVariant::createFromDate(str2Date("6/27/2012",213)));
		com_Calendar.Selection("value in (#6/26/2012#,#6/27/2012#,#6/28/2012#)");
	exschedule1.AllowMultiDaysEvent(false);
	var_NonworkingPattern = COM::createFromObject(exschedule1.NonworkingPatterns()).Add(1,1/*exPatternSolid*/); com_NonworkingPattern = var_NonworkingPattern;
	var_Pattern = COM::createFromObject(com_NonworkingPattern).Pattern(); com_Pattern = var_Pattern;
	com_Pattern.Color(WinApi::RGB2int(240,240,240));
	exschedule1.NonworkingTimes().Add("value in (#6/27/2012#)","00:00","24:00",1);
	exschedule1.ShowNonworkingTime(1/*exShowNonworkingTimeBack*/);
	exschedule1.Calendar().DisableZoneFormat("value in (#6/27/2012#)");
}
157
We need to highlight a day for example no booking for that day, is the timezone good choice (method 2)

public void init()
{
	COM com_Calendar,com_NonworkingPattern,com_Pattern;
	anytype var_Calendar,var_NonworkingPattern,var_Pattern;
	;

	super();

	var_Calendar = exschedule1.Calendar(); com_Calendar = var_Calendar;
		com_Calendar.Selection(COMVariant::createFromDate(str2Date("6/27/2012",213)));
		com_Calendar.Selection("value in (#6/26/2012#,#6/27/2012#,#6/28/2012#)");
	var_NonworkingPattern = COM::createFromObject(exschedule1.NonworkingPatterns()).Add(1,1/*exPatternSolid*/); com_NonworkingPattern = var_NonworkingPattern;
	var_Pattern = COM::createFromObject(com_NonworkingPattern).Pattern(); com_Pattern = var_Pattern;
	com_Pattern.Color(WinApi::RGB2int(240,240,240));
	exschedule1.NonworkingTimes().Add("value in (#6/27/2012#)","00:00","24:00",1);
	exschedule1.ShowNonworkingTime(1/*exShowNonworkingTimeBack*/);
}
156
We need to highlight a day for example no booking for that day, is the timezone good choice (method 1)

public void init()
{
	COM com_Calendar,com_MarkZone,com_Pattern;
	anytype var_Calendar,var_MarkZone,var_Pattern;
	;

	super();

	var_Calendar = exschedule1.Calendar(); com_Calendar = var_Calendar;
		com_Calendar.Selection(COMVariant::createFromDate(str2Date("6/27/2012",213)));
		com_Calendar.Selection("value in (#6/26/2012#,#6/27/2012#,#6/28/2012#)");
	var_MarkZone = COM::createFromObject(exschedule1.MarkZones()).Add("zone",COMVariant::createFromDate(str2Date("6/27/2012",213)),COMVariant::createFromDate(str2Date("6/28/2012",213))); com_MarkZone = var_MarkZone;
		com_MarkZone.BackColor(WinApi::RGB2int(240,240,240));
		var_Pattern = COM::createFromObject(com_MarkZone.Pattern()); com_Pattern = var_Pattern;
		com_Pattern.Type(0/*exPatternEmpty*/);
	exschedule1.ShowMarkZone(1/*exShowMarkZonesBack*/);
}
155
Is is possible to change the background color for a specific day

public void init()
{
	COM com_Calendar,com_MarkZone,com_Pattern;
	anytype var_Calendar,var_MarkZone,var_Pattern;
	;

	super();

	var_Calendar = exschedule1.Calendar(); com_Calendar = var_Calendar;
		com_Calendar.Selection(COMVariant::createFromDate(str2Date("6/27/2012",213)));
		com_Calendar.Selection("value in (#6/26/2012#,#6/27/2012#,#6/28/2012#)");
	var_MarkZone = COM::createFromObject(exschedule1.MarkZones()).Add("zone",COMVariant::createFromDate(str2Date("6/27/2012",213)),COMVariant::createFromDate(str2Date("6/28/2012",213))); com_MarkZone = var_MarkZone;
		com_MarkZone.BackColor(WinApi::RGB2int(240,240,240));
		var_Pattern = COM::createFromObject(com_MarkZone.Pattern()); com_Pattern = var_Pattern;
		com_Pattern.Type(0/*exPatternEmpty*/);
	exschedule1.ShowMarkZone(1/*exShowMarkZonesBack*/);
}
154
I want to know how can I call a user define form when editing a time slot
// LayoutEndChanging event - Notifies your application once the control's layout has been changed.
void onEvent_LayoutEndChanging(int   _Operation)
{
	;
	print( "End exScheduleResize(5)" );
	print( _Operation );
}

// LayoutStartChanging event - Occurs when the control's layout is about to be changed.
void onEvent_LayoutStartChanging(int   _Operation)
{
	;
	print( "Start exScheduleResize(5)" );
	print( _Operation );
}

public void init()
{
	COM com_Calendar;
	anytype var_Calendar;
	;

	super();

	var_Calendar = exschedule1.Calendar(); com_Calendar = var_Calendar;
		com_Calendar.SingleSel(true);
		com_Calendar.OnSelectDate(1/*exEnsureVisibleDate*/);
	exschedule1.ClipToSel(true);
	exschedule1.AllowMoveSchedule(0/*exDisallow*/);
	exschedule1.AllowMoveGroup(0/*exDisallow*/);
	exschedule1.AllowResizeSchedule(1/*exLeftClick*/);
	exschedule1.AllowCreateEvent(0/*exDisallow*/);
}
153
Can we lock the scroll bars so that it only scrolls within the selected date

public void init()
{
	COM com_Calendar,com_Events;
	anytype var_Calendar,var_Events;
	;

	super();

	var_Calendar = exschedule1.Calendar(); com_Calendar = var_Calendar;
		com_Calendar.Selection(COMVariant::createFromDate(str2Date("6/1/2001",213)));
		com_Calendar.Selection("value in (#6/11/2001#,#6/12/2001#)");
		com_Calendar.SingleSel(true);
		com_Calendar.OnSelectDate(1/*exEnsureVisibleDate*/);
	exschedule1.ClipToSel(true);
	exschedule1.DayViewWidth(-1);
	exschedule1.DayViewHeight(512);
	var_Events = exschedule1.Events(); com_Events = var_Events;
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("6/11/2001 10:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("6/11/2001 13:00:00",213)));
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("6/12/2001 10:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("6/12/2001 13:00:00",213)));
}
152
Is it possible to specify the dates to be printed to a single page

public void init()
{
	COM com_Calendar,com_Events,com_Print;
	anytype var_Calendar,var_Events,var_Print;
	;

	super();

	var_Calendar = exschedule1.Calendar(); com_Calendar = var_Calendar;
		com_Calendar.Selection(COMVariant::createFromDate(str2Date("6/1/2001",213)));
		com_Calendar.Selection("value in (#6/11/2001#,#6/12/2001#)");
	exschedule1.DayViewWidth(116);
	exschedule1.DayViewHeight(116);
	var_Events = exschedule1.Events(); com_Events = var_Events;
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("6/11/2001 10:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("6/11/2001 13:00:00",213)));
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("6/12/2001 10:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("6/12/2001 13:00:00",213)));
	// Add 'exprint.dll(ExPrint.dll)' reference to your project.
	// Add 'ExPrint 1.0 Control Library(ExPrint.dll)' reference to your project.
	var_Print = COM::createFromObject(new EXPRINTLib.exprint()); com_Print = var_Print;
		com_Print.Options("Range=month(value)=6;FitToPage=On");
		com_Print.PrintExt(exschedule1);
		com_Print.Preview();
}
151
Is it possible to specify the dates to be printed

public void init()
{
	COM com_Calendar,com_Events,com_Print;
	anytype var_Calendar,var_Events,var_Print;
	;

	super();

	var_Calendar = exschedule1.Calendar(); com_Calendar = var_Calendar;
		com_Calendar.Selection(COMVariant::createFromDate(str2Date("6/1/2001",213)));
		com_Calendar.Selection("value in (#6/11/2001#,#6/12/2001#)");
	exschedule1.DayViewWidth(116);
	exschedule1.DayViewHeight(116);
	var_Events = exschedule1.Events(); com_Events = var_Events;
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("6/11/2001 10:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("6/11/2001 13:00:00",213)));
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("6/12/2001 10:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("6/12/2001 13:00:00",213)));
	// Add 'exprint.dll(ExPrint.dll)' reference to your project.
	// Add 'ExPrint 1.0 Control Library(ExPrint.dll)' reference to your project.
	var_Print = COM::createFromObject(new EXPRINTLib.exprint()); com_Print = var_Print;
		com_Print.Options("Range=month(value)=6");
		com_Print.PrintExt(exschedule1);
		com_Print.Preview();
}
150
Does your control support Fit-To-Page, while printing

public void init()
{
	COM com_Calendar,com_Events,com_Print;
	anytype var_Calendar,var_Events,var_Print;
	;

	super();

	var_Calendar = exschedule1.Calendar(); com_Calendar = var_Calendar;
		com_Calendar.Selection(COMVariant::createFromDate(str2Date("6/1/2001",213)));
		com_Calendar.Selection("value in (#6/11/2001#,#6/12/2001#)");
	exschedule1.DayViewWidth(512);
	exschedule1.DayViewHeight(512);
	var_Events = exschedule1.Events(); com_Events = var_Events;
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("6/11/2001 10:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("6/11/2001 13:00:00",213)));
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("6/12/2001 10:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("6/12/2001 13:00:00",213)));
	// Add 'exprint.dll(ExPrint.dll)' reference to your project.
	// Add 'ExPrint 1.0 Control Library(ExPrint.dll)' reference to your project.
	var_Print = COM::createFromObject(new EXPRINTLib.exprint()); com_Print = var_Print;
		com_Print.Options("FitToPage=On");
		com_Print.PrintExt(exschedule1);
		com_Print.Preview();
}
149
Does your control support Print and Print-Preview

public void init()
{
	COM com_Calendar,com_Events,com_Print;
	anytype var_Calendar,var_Events,var_Print;
	;

	super();

	var_Calendar = exschedule1.Calendar(); com_Calendar = var_Calendar;
		com_Calendar.Selection(COMVariant::createFromDate(str2Date("6/1/2001",213)));
		com_Calendar.Selection("value in (#6/11/2001#,#6/12/2001#)");
	exschedule1.DayViewWidth(512);
	exschedule1.DayViewHeight(512);
	var_Events = exschedule1.Events(); com_Events = var_Events;
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("6/11/2001 10:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("6/11/2001 13:00:00",213)));
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("6/12/2001 10:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("6/12/2001 13:00:00",213)));
	// Add 'exprint.dll(ExPrint.dll)' reference to your project.
	// Add 'ExPrint 1.0 Control Library(ExPrint.dll)' reference to your project.
	var_Print = COM::createFromObject(new EXPRINTLib.exprint()); com_Print = var_Print;
		com_Print.PrintExt(exschedule1);
		com_Print.Preview();
}
148
How can I specify the height (time slot) of the day to be larger
public void init()
{
	COM com_TimeScale;
	anytype var_TimeScale;
	;

	super();

	exschedule1.BeginUpdate();
	exschedule1.ClipToSel(true);
	exschedule1.DayViewHeight(1024);
	exschedule1.DayViewWidth(-1);
	var_TimeScale = COM::createFromObject(exschedule1.TimeScales()).Item(COMVariant::createFromInt(0)); com_TimeScale = var_TimeScale;
	com_TimeScale.MinorTimeRuler("00:05");
	exschedule1.EndUpdate();
}
147
How can I prevent resizing the schedule view, when a new date is selected
public void init()
{
	COM com_Calendar;
	anytype var_Calendar;
	;

	super();

	var_Calendar = exschedule1.Calendar(); com_Calendar = var_Calendar;
		com_Calendar.OnSelectDate(1/*exEnsureVisibleDate*/);
		com_Calendar.Selection(COMVariant::createFromDate(str2Date("1/10/2001",213)));
		com_Calendar.SingleSel(true);
	exschedule1.DayViewWidth(48);
}
146
How do I get notified once the user moves an event
// UpdateEvent event - Notifies your application once the event changes the starting or ending margins.
void onEvent_UpdateEvent(COM   _Ev)
{
	;
	print( "UpdateEvent" );
	print( _Ev );
}

public void init()
{
	COM com_Event,com_Event1,com_Events;
	anytype var_Event,var_Event1,var_Events;
	;

	super();

	exschedule1.SelectEventStyle(48/*exLinesSolid*/);
	exschedule1.DefaultEventLongLabel("<%=%256%><br><%=%5%>");
	exschedule1.DefaultEventShortLabel(exschedule1.DefaultEventLongLabel());
	exschedule1.Calendar().Selection(COMVariant::createFromDate(str2Date("1/10/2001",213)));
	exschedule1.OnResizeControl(3073/*exCalendarAutoHide | exCalendarFit | exResizePanelRight*/);
	var_Events = exschedule1.Events(); com_Events = var_Events;
		var_Event = com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 9:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 12:30:00",213))); com_Event = var_Event;
			com_Event.Editable(1/*exEditCaption*/);
			com_Event.Caption("your caption");
		var_Event1 = com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 10:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 13:00:00",213))); com_Event1 = var_Event1;
			com_Event1.Editable(1/*exEditCaption*/);
			com_Event1.Caption("other caption");
}
145
Can You give me an example for the event handler when a user double clicks an appointment
// DblClick event - Occurs when the user dblclk the left mouse button over an object.
void onEvent_DblClick(int   _Shift,int   _X,int   _Y)
{
	COM com_e;
	anytype e;
	;
	e = COM::createFromObject(exschedule1.EventFromPoint(-1,-1)); com_e = e;
	print( "Start:" );
	print( e );
	print( "End:" );
	print( e );
}

public void init()
{
	COM com_Calendar,com_Events,com_e;
	anytype e,var_Calendar,var_Events;
	;

	super();

	exschedule1.AllowEditEvent(0/*exDisallow*/);
	exschedule1.AllowToggleSchedule(0/*exDisallow*/);
	var_Calendar = exschedule1.Calendar(); com_Calendar = var_Calendar;
		com_Calendar.Selection(COMVariant::createFromDate(str2Date("6/1/2001",213)));
		com_Calendar.Selection("value in (#6/11/2001#,#6/12/2001#,#6/13/2001#)");
	var_Events = exschedule1.Events(); com_Events = var_Events;
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("6/11/2001 10:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("6/11/2001 13:00:00",213)));
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("6/12/2001 10:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("6/12/2001 13:00:00",213)));
}
144
Nothing is shown in the schedule view, if I use the Selection property. What am I doing wrong

public void init()
{
	COM com_Calendar;
	anytype var_Calendar;
	;

	super();

	var_Calendar = exschedule1.Calendar(); com_Calendar = var_Calendar;
		com_Calendar.Selection(COMVariant::createFromDate(str2Date("6/1/2001",213)));
		com_Calendar.Selection("value in (#6/11/2001#,#6/12/2001#,#6/13/2001#)");
}
143
Is it possible to lock a date/day, so no events can be created, moved, and so on

public void init()
{
	COM com_Calendar,com_Events;
	anytype var_Calendar,var_Events;
	;

	super();

	var_Calendar = exschedule1.Calendar(); com_Calendar = var_Calendar;
		com_Calendar.Selection(COMVariant::createFromDate(str2Date("6/1/2001",213)));
		com_Calendar.Selection("value in (#6/11/2001#,#6/12/2001#,#6/13/2001#)");
		com_Calendar.DisableZoneFormat("value = #6/12/2001#");
	var_Events = exschedule1.Events(); com_Events = var_Events;
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("6/11/2001 10:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("6/11/2001 13:00:00",213)));
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("6/12/2001 10:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("6/12/2001 13:00:00",213)));
}
142
How can I show the grid lines for minor and major rules in the schedule view

public void init()
{
	;

	super();

	exschedule1.Background(54/*exScheduleMajorTimeScaleStyle*/,WinApi::RGB2int(0,0,0));
	exschedule1.Background(53/*exScheduleMajorTimeRulerColor*/,WinApi::RGB2int(192,192,192));
	exschedule1.Background(50/*exScheduleTimeScaleMajorRulerStyle*/,WinApi::RGB2int(0,0,0));
	exschedule1.Background(49/*exScheduleTimeScaleMajorRulerColor*/,WinApi::RGB2int(192,192,192));
	exschedule1.Background(56/*exScheduleMinorTimeScaleStyle*/,WinApi::RGB2int(3,0,0));
	exschedule1.Background(52/*exScheduleTimeScaleMinorRulerStyle*/,WinApi::RGB2int(3,0,0));
}
141
Is it possible to show the grid lines for minor rulers too in the schedule view

public void init()
{
	;

	super();

	exschedule1.Background(56/*exScheduleMinorTimeScaleStyle*/,WinApi::RGB2int(3,0,0));
}
140
How can I change the style and colors to show the grid lines

public void init()
{
	;

	super();

	exschedule1.Background(54/*exScheduleMajorTimeScaleStyle*/,WinApi::RGB2int(48,0,0));
	exschedule1.Background(53/*exScheduleMajorTimeRulerColor*/,WinApi::RGB2int(255,0,0));
	exschedule1.Background(50/*exScheduleTimeScaleMajorRulerStyle*/,WinApi::RGB2int(3,0,0));
	exschedule1.Background(49/*exScheduleTimeScaleMajorRulerColor*/,WinApi::RGB2int(255,0,0));
}
139
How can I show a solid line rather than dot lines in the schedule view

public void init()
{
	;

	super();

	exschedule1.Background(54/*exScheduleMajorTimeScaleStyle*/,WinApi::RGB2int(48,0,0));
	exschedule1.Background(53/*exScheduleMajorTimeRulerColor*/,WinApi::RGB2int(0,0,0));
}
138
Is it possible to hide or change the lines in the schedule view

public void init()
{
	;

	super();

	exschedule1.Background(54/*exScheduleMajorTimeScaleStyle*/,-1);
}
137
Is there a possiblity to lock an event, so it can't be moved or edited

public void init()
{
	COM com_Event,com_Events,com_Pattern;
	anytype var_Event,var_Events,var_Pattern;
	;

	super();

	exschedule1.Calendar().Selection(COMVariant::createFromDate(str2Date("6/27/2012",213)));
	var_Events = exschedule1.Events(); com_Events = var_Events;
		var_Event = com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("6/27/2012 10:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("6/27/2012 11:30:00",213))); com_Event = var_Event;
			var_Pattern = COM::createFromObject(com_Event.BodyPattern()); com_Pattern = var_Pattern;
			com_Pattern.Type(6/*exPatternBDiagonal*/);
			com_Event.Movable(false);
			com_Event.Resizable(0/*exNoResizable*/);
			com_Event.Selectable(false);
			com_Event.Editable(0/*exNoEditable*/);
			com_Event.ExtraLabel("locked");
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("6/27/2012 13:30:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("6/27/2012 15:30:00",213)));
}
136
Is it possible to load a PNG file on the control's background ( /com only )

public void init()
{
	;

	super();

	exschedule1.Template("Picture = LoadPicture(`c:\\exontrol\\images\\card.png`)");
}
135
What is the Event.UserData property used for

public void init()
{
	COM com_Event,com_Events;
	anytype var_Event,var_Events;
	str var_s;
	;

	super();

	exschedule1.Calendar().Selection(COMVariant::createFromDate(str2Date("6/27/2012",213)));
	var_s = "Start: <%=%1%><br>End: <%=%2%><br>Duration: <%=((1:=int(0:= (date(%2)-date(%1)))) != 0 ? (=:1 + ' day(s)') : '') + (=:1 ? ' ' : ";
	var_s = var_s + "'' ) + ((1:=int(0:=((=:0 - =:1 + 1/24/60/60/2)*24))) != 0 ? =:1 + ' hour(s)' : '' ) + (=:1 ? ' ' : '' ) + ((1:=round((=:0 - =:1)";
	var_s = var_s + "*60)) != 0 ? =:1 + ' min(s)' : '')%><b><%=(len(%6) ? `<br>UserData: `+ %6 : ``)%></b>";
	exschedule1.DefaultEventTooltip(var_s);
	var_Events = exschedule1.Events(); com_Events = var_Events;
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("6/27/2012 11:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("6/27/2012 12:30:00",213)))); com_Event = var_Event;
		com_Event.UserData("Any extra data associated with the event");
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("6/27/2012 11:30:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("6/27/2012 13:30:00",213)));
}
134
Is there also an event for when a user selects another month in the date-picker control
// LayoutEndChanging event - Notifies your application once the control's layout has been changed.
void onEvent_LayoutEndChanging(int   _Operation)
{
	;
	print( "End exCalendarDateChange(3)" );
	print( _Operation );
	print( "Currently browsing date:" );
	print( exschedule1.Calendar().Date() );
}

// LayoutStartChanging event - Occurs when the control's layout is about to be changed.
void onEvent_LayoutStartChanging(int   _Operation)
{
	;
	print( "Start exCalendarDateChange(3)" );
	print( _Operation );
	print( "Previously browsing date:" );
	print( exschedule1.Calendar().Date() );
}

public void init()
{
	;

	super();

}
133
How can I display the time-zone behind or back (method 2)

public void init()
{
	COM com_MarkZone,com_Pattern;
	anytype var_MarkZone,var_Pattern;
	;

	super();

	exschedule1.Calendar().Selection(COMVariant::createFromDate(str2Date("6/27/2012",213)));
	var_MarkZone = COM::createFromObject(exschedule1.MarkZones()).Add("zone",COMVariant::createFromUtcDateTime(str2Datetime("6/27/2012 10:30:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("6/27/2012 13:00:00",213))); com_MarkZone = var_MarkZone;
		com_MarkZone.LongLabel("zone");
		var_Pattern = com_MarkZone.Pattern(); com_Pattern = var_Pattern;
			com_Pattern.Type(6/*exPatternBDiagonal*/);
			com_Pattern.Color(WinApi::RGB2int(40,40,40));
	exschedule1.ShowMarkZone(3/*exShowMarkZonesSemi*/);
	exschedule1.Events().Add(COMVariant::createFromUtcDateTime(str2Datetime("6/27/2012 11:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("6/27/2012 12:30:00",213)));
}
132
How can I display the time-zone behind or back (method 1)

public void init()
{
	COM com_MarkZone;
	anytype var_MarkZone;
	;

	super();

	exschedule1.Calendar().Selection(COMVariant::createFromDate(str2Date("6/27/2012",213)));
	var_MarkZone = COM::createFromObject(exschedule1.MarkZones()).Add("zone",COMVariant::createFromUtcDateTime(str2Datetime("6/27/2012 10:30:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("6/27/2012 13:00:00",213))); com_MarkZone = var_MarkZone;
	com_MarkZone.LongLabel("zone");
	exschedule1.ShowMarkZone(1/*exShowMarkZonesBack*/);
	exschedule1.Events().Add(COMVariant::createFromUtcDateTime(str2Datetime("6/27/2012 11:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("6/27/2012 12:30:00",213)));
}
131
How can I add a time-zone

public void init()
{
	COM com_MarkZone;
	anytype var_MarkZone;
	;

	super();

	exschedule1.Calendar().Selection(COMVariant::createFromDate(str2Date("6/27/2012",213)));
	var_MarkZone = COM::createFromObject(exschedule1.MarkZones()).Add("zone",COMVariant::createFromUtcDateTime(str2Datetime("6/27/2012 10:30:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("6/27/2012 13:00:00",213))); com_MarkZone = var_MarkZone;
	com_MarkZone.LongLabel("zone");
}
130
How can I specify a larger height for the timer, or it is possible to make it bigger

public void init()
{
	COM com_Appearance,com_MarkTime,com_MarkTime1;
	anytype var_Appearance,var_MarkTime,var_MarkTime1;
	str var_s;
	;

	super();

	exschedule1.BeginUpdate();
	exschedule1.Calendar().Selection(COMVariant::createFromDate(str2Date("5/24/2012",213)));
	var_Appearance = exschedule1.VisualAppearance(); com_Appearance = var_Appearance;
		var_s = "gBFLBCJwBAEHhEJAEGg4BC0MQAAYAQGKIYBkAKBQAGaAoDDUOQzQwAAxDGKUEwsACEIrjKCYVgOHYYQjGMZwHIUIhkGoSZKlCIRVDCKYJSzLcZAFIMRwSBiEQTmaa4Wi";
		var_s = var_s + "KIgIQiUBomGahajkMoYZCYKKSCI2S4aDZCIoTPLMagxC5GJCnSJnITJCpdV7XVgWHYVSzDM6yEScZTkFqubZsW5cNwXHZ9azkQpyFRPe6bbrqfJ/X5gN64HgBfrEUo8c";
		var_s = var_s + "LxHCMKw3DKPYrkOLHS4CQjnSrLcqzDK8ax3GafZwcbqKWbmR5LUjTNR1DS9Hy3Kh8O4sSDbDqeZZpW7bNx2Xa9YQZcS5JBvfA8BwXC6JY7heR4ZIHTT9GbNc7zXQdHxL";
		var_s = var_s + "iuUZrnUEwvFYIoDjeXZuHePA+A8Hx/kuYhQD2WQqg8T4vlWbJ3nuPg+l+H5BFEASAg==";
		com_Appearance.Add(1,COMVariant::createFromStr(var_s));
		com_Appearance.Add(2,"CP:1 0 -3 0 3");
	var_MarkTime = COM::createFromObject(exschedule1.MarkTimes()).Add("timer1",str2Datetime("5/24/2012 11:15:00",213)); com_MarkTime = var_MarkTime;
		com_MarkTime.BackColor(0x1000000);
		com_MarkTime.Line(-1/*exNoLines*/);
		com_MarkTime.Label("default height");
		com_MarkTime.LabelAlign(34/*exBottomRight*/);
	var_MarkTime1 = COM::createFromObject(exschedule1.MarkTimes()).Add("timer2",str2Datetime("5/24/2012 13:15:00",213)); com_MarkTime1 = var_MarkTime1;
		com_MarkTime1.BackColor(0x2000000);
		com_MarkTime1.Line(-1/*exNoLines*/);
		com_MarkTime1.Label("larger height");
		com_MarkTime1.LabelAlign(34/*exBottomRight*/);
	exschedule1.EndUpdate();
}
129
How I know what event was edited when it was edited by a user
// LayoutEndChanging event - Notifies your application once the control's layout has been changed.
void onEvent_LayoutEndChanging(int   _Operation)
{
	;
	print( "End Operation exScheduleEditEvent(15)" );
	print( _Operation );
	print( "Use the global member from LayoutStartChanging, and you got the Event being edited" );
}

// LayoutStartChanging event - Occurs when the control's layout is about to be changed.
void onEvent_LayoutStartChanging(int   _Operation)
{
	;
	print( "Start Operation exScheduleEditEvent(15)" );
	print( _Operation );
	print( "Holds the EventFromPoint to a global member" );
	print( exschedule1.EventFromPoint(-1,-1) );
}

public void init()
{
	COM com_Events;
	anytype var_Events;
	;

	super();

	exschedule1.BeginUpdate();
	exschedule1.SelectEventStyle(816/*exLinesThicker | exLinesSolid*/);
	exschedule1.Calendar().Selection(COMVariant::createFromDate(str2Date("5/24/2012",213)));
	var_Events = exschedule1.Events(); com_Events = var_Events;
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 9:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 12:00:00",213)));
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 10:45:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 12:45:00",213)));
	exschedule1.EndUpdate();
}
128
What are timers in your exSchedule component

public void init()
{
	COM com_Events,com_MarkTime,com_MarkTime1,com_Pattern;
	anytype var_Events,var_MarkTime,var_MarkTime1,var_Pattern;
	;

	super();

	exschedule1.BeginUpdate();
	exschedule1.Calendar().Selection(COMVariant::createFromDate(str2Date("5/24/2012",213)));
	var_MarkTime = COM::createFromObject(exschedule1.MarkTimes()).Add("timer1",str2Datetime("5/24/2012 8:35:00",213)); com_MarkTime = var_MarkTime;
		com_MarkTime.Label("<fgcolor=808080>fixed timer");
		com_MarkTime.LabelAlign(1/*exTopCenter*/);
		var_Pattern = COM::createFromObject(com_MarkTime.Pattern()); com_Pattern = var_Pattern;
		com_Pattern.Type(6/*exPatternBDiagonal*/);
		var_Pattern = COM::createFromObject(com_MarkTime.Pattern()); com_Pattern = var_Pattern;
		com_Pattern.Color(WinApi::RGB2int(224,224,224));
	var_MarkTime1 = COM::createFromObject(exschedule1.MarkTimes()).Add("timer2",str2Datetime("5/24/2012 10:51:00",213)); com_MarkTime1 = var_MarkTime1;
		com_MarkTime1.Label("<fgcolor=00FF00>movable timer");
		com_MarkTime1.Movable(true);
		com_MarkTime1.BodyEventBackColor(WinApi::RGB2int(128,255,128));
		com_MarkTime1.LineColor(WinApi::RGB2int(0,240,15));
		com_MarkTime1.TimeScaleLineColor(WinApi::RGB2int(0,255,0));
		com_MarkTime1.TimeScaleLabel("");
		com_MarkTime1.Line(780/*exLinesThicker | exLinesDash*/);
		com_MarkTime1.Label("<bgcolor=FFFFFF><fgcolor=00FF00><b><%hh%>:<%nn%> <%AM/PM%><br><%loc_sdate%>");
		com_MarkTime1.TimeScaleLine(259/*exLinesThick | exLinesDot4*/);
	var_Events = exschedule1.Events(); com_Events = var_Events;
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 9:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 12:00:00",213)));
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 10:45:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 12:45:00",213)));
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 11:30:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 14:30:00",213)));
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 12:45:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 15:45:00",213)));
	exschedule1.EndUpdate();
}
127
How do I get the selected dates in the calendar panel
// LayoutEndChanging event - Notifies your application once the control's layout has been changed.
void onEvent_LayoutEndChanging(int   _Operation)
{
	;
	print( "Operation: exScheduleSelectionChange(10)" );
	print( _Operation );
	print( "Selected Event Count:" );
	print( exschedule1.SelCount() );
	print( "First Selected Event:" );
	print( exschedule1.SelEvent(0) );
}

public void init()
{
	COM com_Events;
	anytype var_Events;
	;

	super();

	exschedule1.Calendar().Selection(COMVariant::createFromDate(str2Date("1/1/2011",213)));
	var_Events = exschedule1.Events(); com_Events = var_Events;
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("1/1/2011 10:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/1/2011 11:30:00",213)));
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("1/1/2011 11:30:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/1/2011 13:30:00",213)));
}
126
How do I get the selected dates in the calendar panel
// LayoutEndChanging event - Notifies your application once the control's layout has been changed.
void onEvent_LayoutEndChanging(int   _Operation)
{
	COM com_Calendar;
	anytype var_Calendar;
	;
	print( "Operation: exCalendarSelectionChange(1)" );
	print( _Operation );
	var_Calendar = exschedule1.Calendar(); com_Calendar = var_Calendar;
		print( "Selected Date Count:" );
		print( com_Calendar.SelCount() );
		print( "First Selected Date:" );
		print( com_Calendar.SelDate(0) );
}

public void init()
{
	COM com_Calendar;
	anytype var_Calendar;
	;

	super();

}
125
What is the easiest way to display a picture on my event

public void init()
{
	COM com_Event;
	anytype var_Event;
	;

	super();

	exschedule1.Calendar().Selection(COMVariant::createFromDate(str2Date("5/24/2012",213)));
	exschedule1.Pictures().Add("pic1","c:\\exontrol\\images\\zipdisk.gif");
	var_Event = COM::createFromObject(exschedule1.Events()).Add(COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 9:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 14:00:00",213))); com_Event = var_Event;
	com_Event.Pictures("pic1");
}
124
How can I programmatically move a specified event
public void init()
{
	COM com_Event;
	anytype var_Event;
	;

	super();

	exschedule1.BeginUpdate();
	exschedule1.Calendar().Selection(COMVariant::createFromDate(str2Date("5/24/2012",213)));
	var_Event = COM::createFromObject(exschedule1.Events()).Add(COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 10:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("5/24/2012 12:00:00",213))); com_Event = var_Event;
	com_Event.MoveBy("-00:15");
	exschedule1.EndUpdate();
}
123
How can I edit the event but still display its margins
// AddEvent event - Notifies your application once the a new event is added.
void onEvent_AddEvent(COM   _Ev)
{
	// Ev.Editable = 1
	;
}

public void init()
{
	COM com_Event,com_Event1,com_Events;
	anytype var_Event,var_Event1,var_Events;
	;

	super();

	exschedule1.SelectEventStyle(48/*exLinesSolid*/);
	exschedule1.DefaultEventLongLabel("<%=%256%><br><%=%5%>");
	exschedule1.DefaultEventShortLabel(exschedule1.DefaultEventLongLabel());
	exschedule1.Calendar().Selection(COMVariant::createFromDate(str2Date("1/10/2001",213)));
	exschedule1.OnResizeControl(3073/*exCalendarAutoHide | exCalendarFit | exResizePanelRight*/);
	var_Events = exschedule1.Events(); com_Events = var_Events;
		var_Event = com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 9:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 12:30:00",213))); com_Event = var_Event;
			com_Event.Editable(1/*exEditCaption*/);
			com_Event.Caption("your caption");
		var_Event1 = com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 10:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 13:00:00",213))); com_Event1 = var_Event1;
			com_Event1.Editable(1/*exEditCaption*/);
			com_Event1.Caption("other caption");
}
122
How can I edit the events

// AddEvent event - Notifies your application once the a new event is added.
void onEvent_AddEvent(COM   _Ev)
{
	// Ev.Editable = 3
	;
}

public void init()
{
	COM com_Event,com_Event1,com_Events;
	anytype var_Event,var_Event1,var_Events;
	;

	super();

	exschedule1.SelectEventStyle(48/*exLinesSolid*/);
	exschedule1.DefaultEventLongLabel("");
	exschedule1.DefaultEventShortLabel("");
	exschedule1.CreateEventLabel("");
	exschedule1.Calendar().Selection(COMVariant::createFromDate(str2Date("1/10/2001",213)));
	exschedule1.OnResizeControl(3073/*exCalendarAutoHide | exCalendarFit | exResizePanelRight*/);
	var_Events = exschedule1.Events(); com_Events = var_Events;
		var_Event = com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 9:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 12:30:00",213))); com_Event = var_Event;
			com_Event.Editable(3/*exEditLongLabel*/);
			com_Event.LongLabel("just your label");
		var_Event1 = com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 10:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 13:00:00",213))); com_Event1 = var_Event1;
			com_Event1.Editable(3/*exEditLongLabel*/);
			com_Event1.LongLabel("just another label");
}
121
At the moment the scheduler only displays events from 8:00 am to 3:00 pm. How do I extend this time frame

public void init()
{
	;

	super();

	exschedule1.DayStartTime("07:30");
	exschedule1.DayEndTime("14:30");
}
120
How does localization work

public void init()
{
	COM com_Calendar;
	anytype var_Calendar;
	;

	super();

	var_Calendar = exschedule1.Calendar(); com_Calendar = var_Calendar;
		com_Calendar.FirstWeekDay(com_Calendar.LocFirstWeekDay());
		com_Calendar.MonthNames(com_Calendar.LocMonthNames());
		com_Calendar.WeekDays(com_Calendar.LocWeekDays());
		com_Calendar.AMPM(com_Calendar.LocAMPM());
}
119
Is it possible to limit the calendar to one month only

public void init()
{
	COM com_Calendar;
	anytype var_Calendar;
	;

	super();

	exschedule1.ScrollBars(0/*exNoScroll*/);
	exschedule1.AllowMoveSchedule(0/*exDisallow*/);
	var_Calendar = exschedule1.Calendar(); com_Calendar = var_Calendar;
		com_Calendar.Selection(COMVariant::createFromDate(str2Date("1/10/2001",213)));
		com_Calendar.MinDate(str2Date("1/1/2001",213));
		com_Calendar.MaxDate(str2Date("1/31/2001",213));
}
118
How can I display a distingue text for repetitive events

public void init()
{
	COM com_Event,com_Events;
	anytype var_Event,var_Events;
	;

	super();

	exschedule1.SelectEventStyle(48/*exLinesSolid*/);
	exschedule1.DefaultEventLongLabel("<%=%256%><br><%=%264? `repetitive event`:``%>");
	exschedule1.DefaultEventShortLabel(exschedule1.DefaultEventLongLabel());
	exschedule1.Calendar().Selection(COMVariant::createFromDate(str2Date("1/10/2001",213)));
	exschedule1.OnResizeControl(3073/*exCalendarAutoHide | exCalendarFit | exResizePanelRight*/);
	var_Events = exschedule1.Events(); com_Events = var_Events;
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 9:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 12:30:00",213)))); com_Event = var_Event;
		com_Event.Repetitive("weekday(value) = 3");
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 10:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 13:00:00",213)));
}
117
How can I display the event's duration on the body of the event

public void init()
{
	COM com_Events;
	anytype var_Events;
	str var_s;
	;

	super();

	exschedule1.SelectEventStyle(48/*exLinesSolid*/);
	var_s = "<%=%256%><br><%=((1:=int(0:= (date(%2)-date(%1)))) != 0 ? (=:1 + ' day(s)') : '') + (=:1 ? ' ' : '' ) + ((1:=int(0:=((=:0 - =:1 ";
	var_s = var_s + "+ 1/24/60/60/2)*24))) != 0 ? =:1 + ' hour(s)' : '' ) + (=:1 ? ' ' : '' ) + ((1:=round((=:0 - =:1)*60)) != 0 ? =:1 + ' min(s)' : ";
	var_s = var_s + "'')%>";
	exschedule1.DefaultEventLongLabel(var_s);
	exschedule1.DefaultEventShortLabel(exschedule1.DefaultEventLongLabel());
	exschedule1.Calendar().Selection(COMVariant::createFromDate(str2Date("1/10/2001",213)));
	exschedule1.OnResizeControl(3073/*exCalendarAutoHide | exCalendarFit | exResizePanelRight*/);
	var_Events = exschedule1.Events(); com_Events = var_Events;
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 9:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 12:30:00",213)));
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 10:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 13:00:00",213)));
}
116
The sample shows how the event's body can display automatically the UserData property of the event

public void init()
{
	COM com_Event,com_Events;
	anytype var_Event,var_Events;
	;

	super();

	exschedule1.SelectEventStyle(48/*exLinesSolid*/);
	exschedule1.DefaultEventLongLabel("<%=%256%><br><%=%6%>");
	exschedule1.DefaultEventShortLabel(exschedule1.DefaultEventLongLabel());
	exschedule1.Calendar().Selection(COMVariant::createFromDate(str2Date("1/10/2001",213)));
	exschedule1.OnResizeControl(3073/*exCalendarAutoHide | exCalendarFit | exResizePanelRight*/);
	var_Events = exschedule1.Events(); com_Events = var_Events;
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 9:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 12:30:00",213)))); com_Event = var_Event;
		com_Event.UserData("UserData 1");
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 10:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 13:00:00",213)))); com_Event = var_Event;
		com_Event.UserData("UserData 2");
}
115
The sample shows how the event's body can display automatically the Caption property of the event

public void init()
{
	COM com_Event,com_Events;
	anytype var_Event,var_Events;
	;

	super();

	exschedule1.SelectEventStyle(48/*exLinesSolid*/);
	exschedule1.DefaultEventLongLabel("<%=%256%><br><%=%5%>");
	exschedule1.DefaultEventShortLabel(exschedule1.DefaultEventLongLabel());
	exschedule1.Calendar().Selection(COMVariant::createFromDate(str2Date("1/10/2001",213)));
	exschedule1.OnResizeControl(3073/*exCalendarAutoHide | exCalendarFit | exResizePanelRight*/);
	var_Events = exschedule1.Events(); com_Events = var_Events;
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 9:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 12:30:00",213)))); com_Event = var_Event;
		com_Event.Caption("Event 1");
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 10:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 13:00:00",213)))); com_Event = var_Event;
		com_Event.Caption("Event 2");
}
114
The sample shows how the event's body can display automatically the group's ID, Caption and Title

public void init()
{
	COM com_Event,com_Events,com_Group,com_Group1,com_Groups;
	anytype var_Event,var_Events,var_Group,var_Group1,var_Groups;
	;

	super();

	exschedule1.SelectEventStyle(48/*exLinesSolid*/);
	exschedule1.DefaultEventLongLabel("Group's ID:<%=%4%><br>Group's Caption: <%=%262%><br>Group's Title: <%=%263%><br><%=%256%>");
	exschedule1.DefaultEventShortLabel(exschedule1.DefaultEventLongLabel());
	exschedule1.Calendar().Selection(COMVariant::createFromDate(str2Date("1/10/2001",213)));
	exschedule1.DisplayGroupingButton(true);
	exschedule1.ShowGroupingEvents(true);
	exschedule1.OnResizeControl(3073/*exCalendarAutoHide | exCalendarFit | exResizePanelRight*/);
	var_Groups = exschedule1.Groups(); com_Groups = var_Groups;
		var_Group = com_Groups.Add(1,"Group 1"); com_Group = var_Group;
			com_Group.Title("First");
			com_Group.Visible(true);
		var_Group1 = com_Groups.Add(2,"Group 2"); com_Group1 = var_Group1;
			com_Group1.Title("Second");
			com_Group1.Visible(true);
	var_Events = exschedule1.Events(); com_Events = var_Events;
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 9:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 12:30:00",213)))); com_Event = var_Event;
		com_Event.GroupID(1);
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 10:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 13:00:00",213)))); com_Event = var_Event;
		com_Event.GroupID(2);
}
113
The following sample displays automatically an "All-Day-Event: " prefix for AllDayEvent events

public void init()
{
	COM com_Event,com_Events;
	anytype var_Event,var_Events;
	;

	super();

	exschedule1.SelectEventStyle(48/*exLinesSolid*/);
	exschedule1.DefaultEventLongLabel("<%=%3 ? `All-Day-Event: `: ``%><%=%256%>");
	exschedule1.DefaultEventShortLabel(exschedule1.DefaultEventLongLabel());
	exschedule1.Calendar().Selection(COMVariant::createFromDate(str2Date("1/10/2001",213)));
	exschedule1.OnResizeControl(3073/*exCalendarAutoHide | exCalendarFit | exResizePanelRight*/);
	var_Events = exschedule1.Events(); com_Events = var_Events;
		var_Event = COM::createFromObject(com_Events.Add(COMVariant::createFromDate(str2Date("1/10/2001",213)),COMVariant::createFromDate(str2Date("1/10/2001",213)))); com_Event = var_Event;
		com_Event.AllDayEvent(true);
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 10:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 13:00:00",213)));
}
112
How can I use the calendar's LongTimeFormat

public void init()
{
	COM com_Calendar;
	anytype var_Calendar;
	;

	super();

	exschedule1.SelectEventStyle(48/*exLinesSolid*/);
	exschedule1.DefaultEventLongLabel("<%=%257%>");
	exschedule1.DefaultEventShortLabel("<%=%257%>");
	var_Calendar = exschedule1.Calendar(); com_Calendar = var_Calendar;
		com_Calendar.Selection(COMVariant::createFromDate(str2Date("1/10/2001",213)));
		com_Calendar.LongTimeFormat("<%hh%>:<%nn%>:<%ss%>");
	exschedule1.OnResizeControl(3073/*exCalendarAutoHide | exCalendarFit | exResizePanelRight*/);
	exschedule1.Events().Add(COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 10:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/11/2001 13:00:00",213)));
}
111
How can I use the calendar's ShortTimeFormat. The sample displays the times in 24-hours format

public void init()
{
	COM com_Calendar,com_TimeScale;
	anytype var_Calendar,var_TimeScale;
	;

	super();

	exschedule1.SelectEventStyle(48/*exLinesSolid*/);
	exschedule1.DefaultEventLongLabel("<%=%256%>");
	exschedule1.DefaultEventShortLabel("<%=%256%>");
	var_TimeScale = COM::createFromObject(exschedule1.TimeScales()).Item(COMVariant::createFromInt(0)); com_TimeScale = var_TimeScale;
	com_TimeScale.MajorTimeLabel("<%hh%>:<%nn%>");
	var_Calendar = exschedule1.Calendar(); com_Calendar = var_Calendar;
		com_Calendar.Selection(COMVariant::createFromDate(str2Date("1/10/2001",213)));
		com_Calendar.ShortTimeFormat("<%h%>:<%nn%>");
	exschedule1.OnResizeControl(3073/*exCalendarAutoHide | exCalendarFit | exResizePanelRight*/);
	exschedule1.Events().Add(COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 10:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 13:00:00",213)));
}
110
How can I use the calendar's ShortDateFormat

public void init()
{
	COM com_Calendar,com_Event;
	anytype var_Calendar,var_Event;
	;

	super();

	exschedule1.SelectEventStyle(48/*exLinesSolid*/);
	exschedule1.DefaultEventLongLabel("<%=%256%>");
	exschedule1.DefaultEventShortLabel("<%=%256%>");
	var_Calendar = exschedule1.Calendar(); com_Calendar = var_Calendar;
		com_Calendar.Selection(COMVariant::createFromDate(str2Date("1/10/2001",213)));
		com_Calendar.ShortDateFormat("<%loc_d2%>, <%loc_m2%> <%d%>, <%yy%>");
	exschedule1.OnResizeControl(3073/*exCalendarAutoHide | exCalendarFit | exResizePanelRight*/);
	var_Event = COM::createFromObject(exschedule1.Events()).Add(COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 10:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 13:00:00",213))); com_Event = var_Event;
	com_Event.AllDayEvent(true);
}
109
How can I use the calendar's LongDateFormat

public void init()
{
	COM com_Calendar,com_Event;
	anytype var_Calendar,var_Event;
	;

	super();

	exschedule1.SelectEventStyle(48/*exLinesSolid*/);
	exschedule1.DefaultEventLongLabel("<%=%257%>");
	exschedule1.DefaultEventShortLabel("<%=%257%>");
	var_Calendar = exschedule1.Calendar(); com_Calendar = var_Calendar;
		com_Calendar.Selection(COMVariant::createFromDate(str2Date("1/10/2001",213)));
		com_Calendar.LongDateFormat("<%loc_dddd%>, <%loc_mmm%> <%d%>, <%yyyy%>");
	exschedule1.OnResizeControl(3073/*exCalendarAutoHide | exCalendarFit | exResizePanelRight*/);
	var_Event = COM::createFromObject(exschedule1.Events()).Add(COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 10:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 13:00:00",213))); com_Event = var_Event;
	com_Event.AllDayEvent(true);
}
108
Is it possible to prevent updating events

public void init()
{
	COM com_Calendar,com_Events;
	anytype var_Calendar,var_Events;
	;

	super();

	exschedule1.SelectEventStyle(48/*exLinesSolid*/);
	exschedule1.AllowUpdateDisableZone(false);
	var_Calendar = exschedule1.Calendar(); com_Calendar = var_Calendar;
		com_Calendar.ShowNonMonthDays(false);
		com_Calendar.Selection(COMVariant::createFromDate(str2Date("1/9/2001",213)));
		com_Calendar.DisableZoneFormat("value >= #1/11/2001#");
		com_Calendar.MinDate(str2Date("1/1/2001",213));
	var_Events = exschedule1.Events(); com_Events = var_Events;
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 10:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/10/2001 13:00:00",213)));
		com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("1/11/2001 10:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/11/2001 13:00:00",213)));
}
107
How can I specify that after editing the caption should be on top ( method 2 )

public void init()
{
	COM com_Calendar,com_Event,com_Events;
	anytype var_Calendar,var_Event,var_Events;
	;

	super();

	exschedule1.DefaultEventLongLabel("");
	exschedule1.DefaultEventShortLabel(exschedule1.DefaultEventLongLabel());
	exschedule1.SelectEventStyle(48/*exLinesSolid*/);
	var_Calendar = exschedule1.Calendar(); com_Calendar = var_Calendar;
		com_Calendar.ShowNonMonthDays(false);
		com_Calendar.Selection(COMVariant::createFromDate(str2Date("1/1/2001",213)));
	var_Events = exschedule1.Events(); com_Events = var_Events;
		var_Event = com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("1/1/2001 10:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/1/2001 13:00:00",213))); com_Event = var_Event;
			com_Event.ExtraLabel("title");
			com_Event.ExtraLabelAlign(0/*exTopLeft*/);
}
106
How can I specify that after editing the caption should be on top ( method 1 )

public void init()
{
	COM com_Calendar,com_Event,com_Events;
	anytype var_Calendar,var_Event,var_Events;
	;

	super();

	exschedule1.DefaultEventLongLabel("");
	exschedule1.DefaultEventShortLabel(exschedule1.DefaultEventLongLabel());
	exschedule1.SelectEventStyle(48/*exLinesSolid*/);
	var_Calendar = exschedule1.Calendar(); com_Calendar = var_Calendar;
		com_Calendar.ShowNonMonthDays(false);
		com_Calendar.Selection(COMVariant::createFromDate(str2Date("1/1/2001",213)));
	var_Events = exschedule1.Events(); com_Events = var_Events;
		var_Event = com_Events.Add(COMVariant::createFromUtcDateTime(str2Datetime("1/1/2001 10:00:00",213)),COMVariant::createFromUtcDateTime(str2Datetime("1/1/2001 13:00:00",213))); com_Event = var_Event;
			com_Event.LongLabel("title");
			com_Event.Editable(3/*exEditLongLabel*/);
}
105
How can I get ride or hide the of the calendar's grid lines

public void init()
{
	COM com_Calendar;
	anytype var_Calendar;
	;

	super();

	var_Calendar = exschedule1.Calendar(); com_Calendar = var_Calendar;
		com_Calendar.ShowNonMonthDays(false);
		com_Calendar.Selection(COMVariant::createFromDate(str2Date("1/1/2001",213)));
		com_Calendar.ShowGridLines(-1/*exNoLines*/);
}
104
How can I programmatically select a single date ( method 2 )

public void init()
{
	;

	super();

	exschedule1.Calendar().Selection(COMVariant::createFromDate(str2Date("1/1/2012",213)));
}
103
How can I programmatically select a single date ( method 1 )

public void init()
{
	COM com_Calendar;
	anytype var_Calendar;
	;

	super();

	var_Calendar = exschedule1.Calendar(); com_Calendar = var_Calendar;
		com_Calendar.Selection("0");
		com_Calendar.SelectDate(str2Date("1/1/2012",213),true);
}
102
How can I prevent showing the Today button, in the calendar panel

public void init()
{
	;

	super();

	exschedule1.OnResizeControl(256/*exHideSplitter*/);
	exschedule1.Calendar().ShowTodayButton(false);
}
101
How can I display just the calendar panel, not including the schedule panel

public void init()
{
	;

	super();

	exschedule1.OnResizeControl(256/*exHideSplitter*/);
}